Say you wanted to delete all files in the current directory except README.txt. You could accomplish this by using find:
|  |  | 
Similarly to delete everything but a certain extension:
|  |  | 
Peace!!
Say you wanted to delete all files in the current directory except README.txt. You could accomplish this by using find:
|  |  | 
Similarly to delete everything but a certain extension:
|  |  | 
Peace!!