Created
October 8, 2021 00:59
-
-
Save umegaya/aad998b30d514bfa39816e17ef5eb86f to your computer and use it in GitHub Desktop.
tar files which modified between specified datetimes, without recursion
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 . -newermt 20210901 -not -newermt 20210930 -type f -print0 -maxdepth 1 | xargs -0 tar -cvzf /tmp/archive.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment