To zip multiple folders separately in Linux, you can use the
zip command followed by the individual folder names. Here's an example:
- Open the terminal.
- Navigate to the directory containing the folders you want to zip separately, using the cd command.
- Type the following command to zip the first folder:
zip -r first_folder.zip first_folder/
Replace first_folder with the actual name of the folder you want to zip.
- Repeat step 3 for each additional folder you want to zip, replacing the folder names accordingly.
This will create a separate zip file for each folder, with each zip file named after the respective folder.