Is there a Linux command to zip the files and folders inside a parent directory without including the parent directory. From all the solutions that I tried, the parent directory also is getting zipped Answer Move into the folder, then zip : Dirty, but effective Or, in a more fancy way, using tar: