![unix zip folder unix zip folder](https://www.tecmint.com/wp-content/uploads/2017/12/Create-Password-Zip-File-in-Linux.png)
You can add your thoughts to this article via the feedback form below. unzip zip linux on specific folder removing a file in linux. zip archive files to a specific or different directory in Linux.
Unix zip folder how to#
In this short article, we have explained how to extract/unzip.
![unix zip folder unix zip folder](https://www.journaldev.com/wp-content/uploads/2019/04/delete-files-after-zipping.png)
You may also like to read the following related articles.
Unix zip folder zip file#
$ unzip tecmint_files.zip -d /tmp/unzipedįor more usage information, read zip and unzip command man pages. Thezip file content into the /tmp directory: $ mkdir -p /tmp/unziped We will use the same example above to demonstrate this. zip archive files to specific or different directory from the command line, include the -d unzip command flag as shown below. Extract Zip File to Specific or Different Directory What if you want to send the unzipped files into a specific or different directory – you can learn this in the next section. Navigate to the directory where the files are that you want to zip (for. The above command will extract the files into the current working directory. of archiving files and retrieving archives in Unix-like systems like Linux. To unzip the tecmint_files.zip archive file you have just created above, you can run the unzip command as follows. zip (packaged and compressed) file from the command line, you can run a similar command like the one below, The -r flag enables recursive reading of files directory structure. Read Also: 5 Best Command Line Archive Tools for Linux Create Zip Archive File in Linux The “ zip” format is a common archiving file format used on Windows PC’s and most importantly, it enables you to specify the compression level between 1 and 9 as an option. Zip is a simple, cross-platform file packaging and compression utility for Unix-like systems including Linux and Windows OS plus many other operating systems. This short guide explains to you how to extract/unzip. In one of our several articles about the tar command, we showed you how to extract tar files to a specific or different directory in Linux.