I have a folder
all_folders which contains 5 folders:
./all_folders ./all_folders/folder1 ./all_folders/folder2 ./all_folders/folder3 ./all_folders/folder4 ./all_folders/folder5
Can I compress all these folders using a single command at once? I want to be in
all_folders directory and then execute command so that individual folders in this directory get compressed.
The expected output is
when I do
all_folders, then I should be having 10 directories. 5 uncompressed ones and 5 compressed ones.