Quantcast
Viewing latest article 2
Browse Latest Browse All 21

Answer by Gowtam Thakur for Remove all files except some from a directory

I belive you can use

rm -v !(filename)

Except for the filename all the other files will e deleted in the directory and make sure you are using it in


Viewing latest article 2
Browse Latest Browse All 21

Trending Articles