Tuesday, 26 February 2013

Encrypt many files simultaneously on windows with GPG public key

For instance, you need to encrypt all files in a folder, here is the short script which may accomplish this task:
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

Ping does not work

Today I would like to discuss a banal situation: host A is directly connected to host B, ping from host A to host B does not work. What are...