Useful Linux & Unix commands

less than 1 minute read

Published:

Find

  • find . \! -name 'filename' -delete –> Finds the file named ‘filename’ and deletes all files in . directory except that one (because of its negation ‘\!’)