I would expect the following command to extract the contents of the top directory in the zip file to the destination directory:
unzip file.zip topdir/\* -d destdir
However, what I get is destdir/topdir
. What I am looking for is an unzip command similar to
cp -r topdir/* destdir
How do I extract the contents without the topdir
path?