Created
December 20, 2010 14:15
-
-
Save fitzgeraldsteele/748414 to your computer and use it in GitHub Desktop.
Find files matching regular expressions in a directory tree, compress them into a tar/gzipped file
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 -X . -name "*201009*" -o -name "*201010*" -o -name "*201011*" | xargs tar czvf ~/Desktop/corplogs.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment