Remove all files but one with rm
This is a very simple question and i dont know whether a solution exists or not.
I have some files in a directory, assume i have .py and some other extension files. now i would like to remove all files except those that end in
.py files. How could i do that with the
That is i want something like
Is it possible?