Created
January 29, 2019 03:25
-
-
Save jjelosua/11152ce52d74944dbe44c779f9481a5f to your computer and use it in GitHub Desktop.
Compress folder with MANY files (size) and remove the original on the fly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find wp-plugins -depth -print0 | xargs -0 gtar --create --no-recursion --remove-file --file - | gzip -9 > wp-plugins.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment