How to recurse encrypt files
Bob Metelsky
bob@cps92.com
Tue Jan 15 21:10:01 2002
Hi All
Undoubtabley this has been discussed before but...
How can I encrypt all files in a directory? Im not sure how the file
names woould be recreated but possibley just changing the file
extension
eg
myfile.txt
myfile2ddd.txt
soeotherfile.txt
would become
myfile.enc
myfile2ddd.enc
soeotherfile.enc
Can this be done?
FOR %a in (dir) do encrypt.bat *.* /s /c
but I would need to pass an alternate filename / entension to
encrypt.bat
eg [encrypt.bat]
gpg --output doc.gpg --encrypt --recipient blake@cyb.org doc
Thanks
bob