Page 1 of 1
Large quantity of files to decrypt
Posted: Sat Apr 25, 2020 3:50 am
by calamisc
Greetings, my boss handed me a portable drive with a few million files on it encrypted with AEScrypt. I have been trying to de-crypt them, but can only do about 5k at a time in Windows due to issues with file explorer. Is there a command line or power shell instruction that I can use that will just do the files within the entire directory and/or sub directory, I don't have a concern on time, the password is the same for all files, and I can move the files around to different directories on the portable drive to accomplish this, I just want to let this run and be done with it
thanks in advance
CC
Re: Large quantity of files to decrypt
Posted: Sat Apr 25, 2020 2:13 pm
by paulej
Yes, there's a command-line version installed with the GUI version. See C:\Program Files\AESCrypt\aescrypt.exe.
To use it, see the examples here:
https://www.aescrypt.com/windows_aes_crypt.html
Or type "aescrypt -h" for help.
Re: Large quantity of files to decrypt
Posted: Mon Apr 27, 2020 6:02 pm
by calamisc
Thank you, works great. Last question----Is there a switch I can add to the cli to ignore errors if encountered. I have come across some errors when doing multi-file processes and would like the program to just ignore them and continue
Thanks
Re: Large quantity of files to decrypt
Posted: Tue Apr 28, 2020 1:00 pm
by paulej
There's no switch, but you could redirect error messages like this:
Code: Select all
aescrypt -d -p secret foo.txt.aes 2>nul
PowerShell uses $null rather than nul, I think.
Re: Large quantity of files to decrypt
Posted: Sun May 10, 2020 2:49 pm
by calamisc
Worked great, thank you very much !!!