Create separate 7z for each folder

Main area for tech support, questions, suggestions and bug reports.
Forum rules
Please try the FAQs, forum search, and manual before posting.
Please link your account to your registration.
User avatar
Rated RR
Registered Opus Pro User
Posts: 72
Joined: 14 Apr 2007, 13:26
OS: Windows 7 64-bit
Opus: Directory Opus 12
Location: Croatia
Contact:
Can't figure out how to combine the command to either right click or do the menu command for multiple folders to make multiple 7z archive files.

This works only for ZIP

Code: Select all

Copy ARCHIVE=single HERE


This works of course for 7z:

Code: Select all

Copy ARCHIVE=.7z HERE


But how do I combine? For example this does not work, and any other combination I could think of...
Copy ARCHIVE=(.7z|single) HERE


For example I would like to achieve this for all other folders in single click:
2017-01-21_194021.png
2017-01-21_194021.png (5.53 KiB) Viewed 283 times
| Opus 12 | W10 x64 | Intel H81::i3.4170 3.7GHz | RAM/SSD: 8/512 Samsung 850 | GeForce GTX560 | UEFI

User avatar
leo
GPSoftware
Posts: 36498
Joined: 07 Nov 2004, 01:30
OS: Windows 10 64-bit
Opus: Directory Opus 12
Location: London, UK
Contact:
The script button here should do what you want, if you change the two ".ZIP" into ".7z".

It'll also be faster for zip than using archive=single.

User avatar
Rated RR
Registered Opus Pro User
Posts: 72
Joined: 14 Apr 2007, 13:26
OS: Windows 7 64-bit
Opus: Directory Opus 12
Location: Croatia
Contact:
Thanks a lot, your solution works flawlessly. :)

However, I can't understand why the following is NOT working, as I see from the thread that it should:

Code: Select all

COPY {file} ARCHIVE=.7z HERE


It starts out fine and creates new 7z but then - immediately after that it gives an error:
2017-01-21_215706.png
2017-01-21_215706.png (18.27 KiB) Viewed 269 times
| Opus 12 | W10 x64 | Intel H81::i3.4170 3.7GHz | RAM/SSD: 8/512 Samsung 850 | GeForce GTX560 | UEFI


Return to “Help & Support”