Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gzip necessary ? #1

Open
miguel-negrao opened this issue Mar 18, 2022 · 1 comment
Open

gzip necessary ? #1

miguel-negrao opened this issue Mar 18, 2022 · 1 comment

Comments

@miguel-negrao
Copy link

$ADB $DEVICE shell "$CMD tar -cvzf /sdcard/Download/$FILENAME -T /sdcard/Download/$FILENAME.1.txt -T /sdcard/Download/$FILENAME.2.txt $END"
echo "[Info ] Copy terminated."
echo "[Info ] Compressing \"$FILENAME\" ..."
$ADB $DEVICE shell gzip /sdcard/Download/$FILENAME
echo "[Info ] Compressing terminated."

Is gzip necessary given that tar with the z option will send the file through gzip ?

@mfrade
Copy link
Member

mfrade commented Mar 18, 2022

I've tried that (see lines 69 and 70), but tar with z won't work because of the print0 option on find to read file names with spaces (or at least I couldn't make it to work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants