Answer the question
In order to leave comments, you need to log in
Batch zip folders in 7zip?
There are about 1000 data folders. Each folder has subfolders and files. You only need to archive the main 1000 folders individually. By type one folder -> one archive. Do it manually for a long time. How can you check this?
Answer the question
In order to leave comments, you need to log in
find /base/directory/* -maxdepth 0 -type d -exec 7z a -r {}.7z {}/* \;
Write a bash script (if linux)
Or pwsh (if windows)
7zip has a console version - 7zip.exe for this.
https://sevenzip.osdn.jp/chm/cmdline/syntax.htm
https://habr.com/ru/company/ruvds/blog/325928/
Bypass files contained in a directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question