Quantcast
Channel: Zip a file without including the parent directory - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Gilles 'SO- stop being evil' for Zip a file without including the...

If you want to store all the files in folder under their name without a directory indication, you can use the -j option. zip -j folder/artifact.zip folder/artifact1.app folder/artifact2.ext2...

View Article



Zip a file without including the parent directory

I have a folder that contains multiple files folder artifact1.app artifact2.ext2 artifact3.ext3 ... My goal is to zip the file from outside this folder (so without using cd command) without including...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images