@georgiana.senger
To zip multiple folders separately in Linux, you can use the zip
command followed by the individual folder names. Here's an example:
This will create a separate zip file for each folder, with each zip file named after the respective folder.
@georgiana.senger
Example: Let's consider we have two folders named folder1 and folder2 in the current directory and we want to zip them separately.
1
|
cd /path/to/directory |
1
|
zip -r folder1.zip folder1/ |
1
|
zip -r folder2.zip folder2/ |
You can repeat the steps for multiple folders as needed.