Skip to content

Instantly share code, notes, and snippets.

@alpody
Created April 21, 2016 10:00
Show Gist options
  • Save alpody/02bd5289470f0352f8caf48d250571a2 to your computer and use it in GitHub Desktop.
Save alpody/02bd5289470f0352f8caf48d250571a2 to your computer and use it in GitHub Desktop.
find files with date range and archive it
find ./2016 -newermt '2016-03-01' ! -newermt '2016-03-31' | xargs tar -czvf march-jpg.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment