sasaers.blogg.se

How to zip folder in linux
How to zip folder in linux













how to zip folder in linux
  1. HOW TO ZIP FOLDER IN LINUX ZIP FILE
  2. HOW TO ZIP FOLDER IN LINUX SOFTWARE

If any files are named on the command line, only those files will be extracted from the archive.įor example, to extract our previously created file you should use the command: tar -xvzf sandbox_ -x: Stand for extract file (input tar.gz file).Step 3: Then click on the other option and set your password and click on Create option.

how to zip folder in linux

Step 2: Then click on the compress option. Here are the following steps: Step 1: Go to the file location and right-click on the file.

HOW TO ZIP FOLDER IN LINUX ZIP FILE

We can use our GUI window to create a zip file and unzip too. If you want now to extract as well with the command line the generated file, you should use now the following command syntax: tar -xvzf Create a Password-Protected ZIP File in Linux Using GUI. This should start the compression of the directory into a new tar file, as we have our -v argument to display the progress in the console, you would see a list of every filename that is being added to the file.

  • -f: Finally the path of the desire file/directory to compressįor example, let's suppose that you are located in the command line in the /sandbox.
  • -v: To display the progress while creating the file.
  • -c: Stand for create file (output tar.gz file).
  • -z: Compress the desired file/directory using gzip.
  • If your system uses GNU tar, you can easily use gzip (the GNU file compression program) in conjunction with tar to create compressed files with the command line following the next command syntax: tar -zcvf The most common use for tar is to simply combine a few files into a single file, for easy storage and distribution. TAR stands for tape archiving, the storing of entire file systems onto magnetic tape, which is one use for the command.

    HOW TO ZIP FOLDER IN LINUX SOFTWARE

    Many modern Unix systems, such as Linux, use GNU tar, a version of tar produced by the Free Software Foundation.















    How to zip folder in linux