I need to delete all files, except one (its name is defined), from a given directory.
How can I do this from the terminal in OS X? Can I do this with one single command?
This question came from our site for professional and enthusiast programmers.
Note that the above