Skip to content

Instantly share code, notes, and snippets.

Created December 30, 2019 22:33
What would you like to do?
find files between datetimes
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