Re: Piping tar into gpg

2013-02-22 Thread Michel Messerschmidt
On Wed, Feb 20, 2013 at 10:29:08PM +0100, Stefan Malte Schumacher wrote: > "find /mnt/raid/Dokumente/ -type f -print0 |tar cfzv | gpg --symmetric > --output 1.tar.gz.gpg" aks for a password but aborts after creating a 4,0K > large binary file. I have had other cases in which tar and gpg were > obvi

Re: Piping tar into gpg

2013-02-21 Thread Werner Koch
On Thu, 21 Feb 2013 08:50, f_phil...@fastmail.net said: > Better approach (in bash, at least): > tar --create --null --files-from=<(find ... -print0) | gpg ... As usual --files-from (or -T) takes input from stdin if you use "-" as file name. Thus there is no need for strange Bash options. -prin

Re: Piping tar into gpg

2013-02-21 Thread Florian Philipp
Am 20.02.2013 23:40, schrieb Daniel Kahn Gillmor: > On 02/20/2013 04:29 PM, Stefan Malte Schumacher wrote: >> I want to create encrypted backups with tar and gpg, which I then want to >> upload to my online storage. Strangely I can't get it working. >> "find /mnt/raid/Dokumente/ -type f -print0 |ta

Re: Piping tar into gpg

2013-02-20 Thread Daniel Kahn Gillmor
On 02/20/2013 04:29 PM, Stefan Malte Schumacher wrote: > I want to create encrypted backups with tar and gpg, which I then want to > upload to my online storage. Strangely I can't get it working. > "find /mnt/raid/Dokumente/ -type f -print0 |tar cfzv | gpg --symmetric > --output 1.tar.gz.gpg" if y