Change file name & extension

This commit is contained in:
RealStickman 2022-11-18 19:36:08 +01:00
parent 9fe7f7b38b
commit 562536e127

View File

@ -13,4 +13,4 @@ The exmple here makes a copy of all content in "sdcard", the user's data directo
### Compressed backup
Using this command, a backup can be pulled as well. This time however, it is passed to zstd for compression.
Tar on the phone doesn't do much except go through all files and send them to the terminal's STDOUT. All the compression happens on the host.
`$ adb exec-out "tar -cf - /sdcard/* 2>/dev/null" | zstd -19 -T16 -v -o sdcard.zstd`
`$ adb exec-out "tar -cf - /sdcard/* 2>/dev/null" | zstd -19 -T16 -v -o sdcard-2022-11-18.zst`