Forum Moderators: bakedjake
I am extracting a file called "foo.zip" using command:
unzip foo.zip
it is working fine but the problem is, it is Making a directory called "foo" and extracts all the file/subdirectories under that "foo" directory, while i want to extract all the files/directories in root.
I dont want unzip command to create a directory called "foo"
how is that possible?
Regards
Simple fix, unzip then:
cd foo
cp * /path to root
cd ..
rm -Rf foo
(in other words, unzip to foo, go into foo, move files where you want them, then delete the foo directory)