0

There is a folder that contains many folders and subfolders, and each of these contains any number of password-protected 7zip archives. The password is the same for all of them. These are single-layer archives (no archives within archives).

I am trying to extract all of them in a single command in such a way that:

  1. Every file will be extracted to the directory in which its original archive was located without a subfolder being created for it,
  2. Each original archive file will be deleted,
  3. and the password will be input automatically by the command.

I already know this needs to be some kind of script since the 7zip context menu doesn't allow to do this AFAIK. However, I am not well-versed in command-line usage and would really appreciate if someone could provide a script I could copy-paste...

I already looked through a bunch of answers, including the following that describe a similar situation minus the password aspect:

Bamba
  • 1
  • 2

0 Answers0