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