Skip to content

Instantly share code, notes, and snippets.

@Somrlik
Created July 23, 2017 21:36
Show Gist options
  • Save Somrlik/0b8529a5fb47940c4474415c2a99e55c to your computer and use it in GitHub Desktop.
Save Somrlik/0b8529a5fb47940c4474415c2a99e55c to your computer and use it in GitHub Desktop.
Find and copy file tree modified in last two weeks
find . -type f -mtime -14 -exec cp --parents \{\} updated-files/ \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment