gpgtar doesn't accept a full path of a directory, which is supposed to be encrypted. It throws error gpgtar: skipping invalid name
Expected behavior:
While being in folder /home/matt/scripts/ I expect to be able to encrypt files in /home/matt/data/
gpgtar --encrypt --output encrypt-test.gpg.tar -r "Matt" /home/matt/data/
throws error
gpgtar: skipping invalid name /home/matt/data/
I can only encrypt files and folders down the folder tree of the current path.
I would like to use absolute path in running script in cron.