Last active
December 25, 2015 02:39
-
-
Save mcescalante/6904470 to your computer and use it in GitHub Desktop.
Find files modified since x days ago, tar them
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
#tar files in current directory modified since 1 day ago | |
find . -mtime -1 -exec tar --no-recursion -czf name.tgz {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment