For simplicity, we are going to use “zip.” Naming the file You have the option to choose from zip, tar.xr, and 7z. ![]() ![]() There, you can choose the filename and then also select the compression algorithm that you want to use to compress the selected file. Once you click it, you will see a window, “Create Archive” popup. There you will find an option of “compress.” Compressing file using GUI Once there, now select the files you want to zip and then right-click on it. Now, let’s take a look at the way to zip the files using the Graphical user interface (GUI).įirst, you need to move to the folder using your desktop environment or GNOME. zip myzip1 filename1 filename2 folder1 folder2 You can also zip a folder along with a file name. In this case, all three files are zipped into myzip. Once the command is executed, it stores the data into the filename specified. Zipping three files using the zip commandĪs you can see from the screenshot above, we zip three files - file1, file2, and file3. Let’s see an example to get a better understanding. ![]() The parameters include the zip name that you are going to create, followed by the file names. zip zipname filename1 filenmae2 filename3. To zip a file using the command line, you need the zip command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |