![]() ![]() ![]() You have to link it to the “exec” option in order to execute the “zip” command that creates an archive. zipĪlternatively, if you are not sure where you stored your zip files before, you can search for files using the find command $ find / -name *.zip 2> /dev/null Zip Folder using findĪnother great way of creating a zip file for your folders is to use the “find” command on Linux. ![]() In order to check if your zip file was created, you can run the “ls” command and look for your archive file. In order to achieve that, you would run the following command $ zip -r temp.zip Documents įor example, let’s say that you want to archive a folder named “Documents” in a zip file named “temp.zip”. You can also specify multiple folders if you want to have multiple directories compressed in your zip file. The easiest way to zip a folder on Linux is to use the “zip” command with the “-r” option and specify the file of your archive as well as the folders to be added to your zip file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |