![]() |
Help Zipping subfolders
Hello
I was hoping someone in here could help me with this problem: I need to zip folders in a bunch of sub-folders. Example: Spoiler:
How it should be: Spoiler:
I'm not that good with coding, but following a guide I managed to create this: Code:
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"I know I can move it and run it separately in all the folders, but there are 3.000+ folders with 1.000.000+ subfolders distributed across. I hope I make sense and someone can help me. Thanks so much in advance. |
Here is a possible solution.
With the given structure you need to delete all created zip files before you run it once more. Otherwise you will zip the before created zip files to additional archives. So, be careful if you like to do this with a huge amount of directories. Or better build a parallel structure to move all zip files to as this is better manageable. Spoiler:
Best regards, DD |
| All times are GMT -4. The time now is 09:04 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.