Skip to main content

Thread: create zip files in ubuntu command line


i want zip entire folder of files. entered following command

zip *.* *.zip

zip gives me error.


php code:
zip warningmissing end signature--probably not a zip file (did you
    zip warning
remember to use binary mode when you transferred it?)

zip errorzip file structure invalid (fc.pdf)

pdftotext# zip *.* *.zip
    
zip warningmissing end signature--probably not a zip file (did you
    zip warning
remember to use binary mode when you transferred it?) 
how resolve ? please me ?

code:
zip -r name_of_output_archive.zip directory_to_archive/
have @ man zip more info


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] create zip files in ubuntu command line


Ubuntu

Comments