Skip to content

Instantly share code, notes, and snippets.

@thebouv
Created December 30, 2019 22:33
Embed
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