Skip to content

Instantly share code, notes, and snippets.

@zealfire
Last active March 30, 2018 08:30
Show Gist options
  • Save zealfire/2d300408b9a4026279b21fe4d774bca0 to your computer and use it in GitHub Desktop.
Save zealfire/2d300408b9a4026279b21fe4d774bca0 to your computer and use it in GitHub Desktop.
git rev-list --all | xargs git grep expression
find /path/to/ -type f -mtime +7 -name '*.gz' -execdir rm -- '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment