Yes, you can compress all folders at the same level together in the directory structure.
Yes, you can compress all folders at the same level together in the directory structure.
Yes, it's feasible to build a script. It involves navigating command line parameters for tools like 7-zip or similar compressors. You can specify paths and options to control how files are added, extracted, or managed. For precise behavior, refer to the specific software documentation and adjust the syntax accordingly. If needed, organize folder lists with utilities such as Total Commander or other search functions.
There's a command line parameter to add files recursively (to include subfolders) so.. 7z.exe a -r archive_name.zip c:\path\to\files\*.* -r (Recursive subdirectories for name search) switch Specifies the method of recursive search for items that match to wildcard of filename specified on the command line. Note: The -r (-r-) switch rules affect only searching phase of item (file or directory) with specified names. And if the directory is found for processing, 7-Zip will process also all subdirectories and all files of that directory and files of subdirectories, even if the search recursion is switched off with "-r-" switch. Syntax -r[- | 0] Switch Description -r Enable recurse subdirectories for item search. -r- Disable recurse subdirectories for item search. This option is default for all commands. -r0 Enable recurse subdirectories for item search only for wildcard names. You would have figured this out by simply typing 7z.exe in a command prompt.