Accidental Extract Location - How to Clean Up?
- by Gordon
Sometimes I will do a command such as
unzip tons_of_files.zip
And I will forget to put a -d to point to a subdirectory. This causes the current folder to get filled with tons of files that are intermixed with the existing files.
What is the best way to remove all these new files and/or move them to a new directory? I want to avoid having to manually examine the directory and determine if the file was part of the archive or was already present.