Say I have a directory structure like this:
- main folder
- folder 1
- file 1.txt
- folder 2
- folder 3
- file 2.txt
- file 3.png
- file 4.txt
- file 5.jpg
I'd like to create a batch script in Windows where I can drag/drop main folder onto it and it'll do the following:
- main folder_encrypted
- folder 1
- file 1.txt.7z
- folder 2
- folder 3
- file 2.txt.7z
- file 3.png.7z
- file 4.txt.7z
- file 5.jpg.7z
Basically, it'll maintain directory structure and individually compress and encrypt every file using 7zip and copy it to main folder_encrypted