This will create a ZIP file without a parent folder: $ unzip -v Archive. Now type in the command that will simultaneously compress and password protect the files in the form of zip -er FILENAME.zip FILESorFOLDERStoCOMPRESS. Type in ls to make sure you see your folder. For example, in my instance, I would type cd /Volumes/dataMAC and hit enter. You can work around this on macOS by going into the folder, select all the files there and select "Compress" from the context menu. Change your directory to the location of your folder. So if you get an additional folder when unpacking on Windows this rather seems to be a problem with the unzipper there. If you create a ZIP by using the Compress option in Finder on "Folder" you get a ZIP structured like this: $ unzip -v test.zip
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |