This question already has an answer here:
I want to create a zip archive from all files which are in "my_folder". Here is how I do it:
zip -9 -y -r -q name.zip /home/user/Stack_Exchange/my_folder/
The problem is that right now when I unpack the archive, the hierarchy of folders is fixed, so the result of unpacking is the home folder and inside is the user folder, etc.
How can I create a zip archive which has only "my_folder" in the directory? I mean I want to see the folder "my_folder" after unpacking the archive.