![]() For example, we've all been at work and been sent a spreadsheet, document or presentation that has blown our mailbox. unrar x archive-name.As the number of different file types have increased over the years we have seen new file types appear that range in size to such an extent that there's a need for users to be able compress files. The command for RAR compression is rar, as shown below: rar a archive-name.rar your-file.txt your-file.php your-file.html.zip file decompression: unzip archive-name.zip In order to compress a directory, use this syntax: zip -r filename.zip foldername/ Here’s how you create an archive in this format: zip archive-name.zip your-file.php your-file.php your-file.php zip files, we’ll be using the zip command instead of tar. You can extract the previous archive by typing this command: tar -xvf archive-name.tar.tar archives is as follows: tar -zcf archive-name.tar your-file.php your-file.php your-file.htmlĮnter the following line to move the whole directory to a. Also, you are not limited to file formats that are used in this example. ![]() If you intend to compress an entire directory, use the following method.Don’t forget to replace “ archive-name” and “ your-file” with your actual file names and directories. tar.gz archive: tar -czvf your-file.text your-file.php your-file.html
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |