if you are using zip -r 1.zip * this will ignore the hidden directories(dot directory) To include the dot directory use the below format. it includes everything in that directory zip -r 1.zip .