-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Please describe the feature
I use this command to run the decryption:
./sda-cli decrypt -key [NAME].sec.pem [PATH]aa-Dataset-yp9w7h-mzjth9/IMAGES/ * / *
It works well for small datasets but for a larger one i get this error:
-bash: ./sda-cli: Argument list too long
It would be great to increase the list size, because otherwise I have to manually call it for every IMAGES/IMAGE_[ID]/* directory which is unfeasible for >3800 directories.
This would make the decryption much more userfriendly and convenient.
I wrote a script in python to run the command automatically for every subdirectory, but it requires the password for the key each time, so it would also be good if the key could be cached in sda-cli
Team decision
Since this is a limitation in bash about maximum argument length we can instead solve this by implementing a recurse option for the decrypt sub-command.
Estimation of size: small
Estimation of priority: low