Skip to content

Instantly share code, notes, and snippets.

@boardstretcher
Last active December 22, 2015 13:58
Show Gist options
  • Save boardstretcher/6482242 to your computer and use it in GitHub Desktop.
Save boardstretcher/6482242 to your computer and use it in GitHub Desktop.
tar files over last x days
tar -c -f $FILENAME --after-date='$DAYS days ago' .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment