Useful Linux & Unix commands

Find

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*