For instance, you need to encrypt all files in a folder, here is the short script which may accomplish this task:
Where backup@localhost is an identifier of public key.
for %%i in (C:\folder\*.bak) do gpg --encrypt --batch -r backup@localhost "%%i"
Where backup@localhost is an identifier of public key.
No comments:
Post a Comment