Created
December 30, 2019 22:33
-
-
Save thebouv/1b12d0e0ab65e0638844694e980b78c9 to your computer and use it in GitHub Desktop.
find files between datetimes
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 "2019-12-30 15:15:00" ! -newermt "2019-12-30 16:26:00" | |
# and say you want to then send those files somewhere else like via cp? | |
find -newermt "2019-12-30 15:15:00" ! -newermt "2019-12-30 16:26:00" | xargs cp -t /path/to/destinationfolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment