I haven't used gpg-zip before. I am trying to compress and encrypt a directory with more than 200 files. I did a test run with a smaller directory containing just a dozen PDFs in it, a folder I'll call "PDFfolder."
man gpg-zip offers the following template as a guide for a user named Bob who wants to do this with a directory labeled "mydocs":
gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
I did this precisely, using my email address, which is also attached to my PGP public key, and of course tied to my user ID in my own public key ring:
gpg-zip --encrypt --output test1 --gpg-args -r email@example.com PDFfolder
I keep getting the following error:
gpg: missing argument for option "-r" /bin/tar: firstname.lastname@example.org: Cannot stat: No such file or directory
What am I doing wrong?
I should add that the "-r" argument works just fine for me using gpg normally, to encrypt.