Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    look out your window

    Encrypting a tarball

    I have quite a few log files i need to tarball, encrypt, and copy the files to a usb thumb drive.
    I do:
    tar -cf file.tar <directory where files are>
    gpg -e -r "<my user>" file.tar
    that all works fine, and i get file.tar.gpg...
    but when i try to decrypt the file later by doing:
    gpg -d file.tar.gpg
    It spits out:
    over and over and over again
    I have no idea why its doing this...any ideas?

  2. #2
    Try looking in the man pages for reference. You should get a better result by using gpg --decrypt-files file.tar.gpg and entering the passphrase.

    Good hunting!

    Trying looking in the man pages for reference, in the meantime use the switch --decrypt-files with gpg and that should get you where you need to be. The -d reference you are using may be old/outdated. If you don't have man pages use the net for the version of the command you are using.
    Last edited by bigtomrodney; 08-07-2006 at 10:03 PM.

  3. #3
    You need to use the -o or --output option for gpg to output it to a file

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts