Logo Background

Unix Zip Command Recursive

  • Some basic Unix command to share. Imagine you are in current directory path, /tmp and you would like to backup all the files and directory inside it. You can use the zip command below which will zip all in one single zip files.

    UNIX> zip -r single.zip *

    Now you got all the files and directory zipped under one single zip files.

    To unzip the zip files, you can simply run a command as below: -

    UNIX> unzip single.zip
Leave a Comment