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

By microbe

Like to cook for microorganisms and human. Play football, tennis, and baseball.

Leave a Reply

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