1

Zip folder question in bash

view story
linux-howto

http://unix.stackexchange.com – I'm learning zip and I have run into something I cannot figure out in man zip. When I run zip -r $folder $folder it will correctly zip all contents but the zip contents is as follows: zip |-folder |--files |--files That is annoying to me and I wanted the zip outcome to be: zip |-files |-files Suggestions on being able to create a zip file with the folder name and all contents? (HowTos)