Skip to content

Instantly share code, notes, and snippets.

@Everfighting
Created July 25, 2019 04:09
Show Gist options
  • Save Everfighting/2ab3f2e60d6f66a9ea656a82bd3ee7c6 to your computer and use it in GitHub Desktop.
Save Everfighting/2ab3f2e60d6f66a9ea656a82bd3ee7c6 to your computer and use it in GitHub Desktop.
find . -maxdepth 1 ! -name 'file1' ! -name 'file2' -type f -exec rm -v {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment