-2

Is there any option to rename the encrypted file in gpg? For example, when I encrypt a file (eg. file1.txt) I use the command

gpg --encrypt --sign --armor -r person@email.com file1.txt

What I want is to rename the encrypted file to something like enc-file1.txt

Is it possible?

earthouser
  • 63
  • 8

1 Answers1

0

The man page, which you really should have checked first, tells me

--output file
-o file
Write output to file.

More information can be found in the gnupgp documentation.

Jongware
  • 22,200
  • 8
  • 54
  • 100