Open
Description
My understanding is that -d .
can be used to specify that files should be overwritten. For single files that seems to work
staticrypt index.html -d . -p mylongpassword
For multiple files, it works too
staticrypt index.html index2.html -d . -p mylongpassword
But, I cannot see a way to make it work for a nested structure.
|- index1.html
|- index2.html
\- folder/
\- index3.html
I have tried -r
, but
# outputs to a separate folder
staticrypt . -r -p mylongpassword
# still outputs to a different folder
staticrypt . -r -d . -p mylongpassword
This brings the nested files out into the root.
staticrypt $(find . -type f -name "*.html") -d . -p mylongpassword
I must be missing something. In short, how do I encrypt all html files recursively in a directory structure and overwrite them exactly where they are?
staticrypt 3.5.1
Metadata
Metadata
Assignees
Labels
No labels
Activity