Skip to content

Instantly share code, notes, and snippets.

@stevenschobert
Created April 23, 2014 16:11
Show Gist options
  • Select an option

  • Save stevenschobert/11221698 to your computer and use it in GitHub Desktop.

Select an option

Save stevenschobert/11221698 to your computer and use it in GitHub Desktop.
Remove files from directory not created today
grep -l -R -v "$(date '+%b %e')" * | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment