Accidental Extract Location - How to Clean Up?
Posted
by
Gordon
on Super User
See other posts from Super User
or by Gordon
Published on 2010-10-12T19:25:48Z
Indexed on
2010/12/24
13:55 UTC
Read the original article
Hit count: 223
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.
© Super User or respective owner