Created
March 9, 2022 06:53
-
-
Save hongsolo9/58777231dbeb7a3fba5969178843e5f2 to your computer and use it in GitHub Desktop.
/bin/tar: Argument list too long (from https://major.io/2007/07/05/bintar-argument-list-too-long/)
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 . -name '*.txt' -print >/tmp/test.manifest | |
tar -cvzf textfiles.tar.gz --files-from /tmp/test.manifest | |
find . -name '*.txt' | xargs rm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment