I am having difficult unpacking a zip to a specific directory. I am trying to get all contents of subdirectory of the zipped file and not the parent directory. This is parent directory within zip file;
c:\mongodb-win32-x86_64-2008plus-2.6.0
However I want the directories below and was trying to extract with the following command;
7z e mongodb-win32-x86_64-2008plus-2.6.0.zip –o”c:\program files\mongodb” -r
I keep getting cannot find archive, I have tried various variations of syntax including dropping quotes, etc.
Any help would be greatly appreciated!