Categories
status

Remove all files but one rm f one…

Remove all files but one.

rm -f !(one.txt)

http://www.commandlinefu.com/commands/view/6652/remove-all-but-one-specific-file