smbclient stdin/stdout redirection from/to gzip

Giulio Orsero giulioo at tiscalinet.it
Mon Nov 1 09:30:55 GMT 1999


I made some tests with smbclient and gzip, and it seems to me that what
I'm doing should be safe, but I'd like to know if this kind of input and
output redirection has some "hidden" drawbacks/problems: may it cause
corruption of output files?

backup:
smbclient '\\server\share' -Tc - | gzip > file.tar.gz

restore:
gzip -dc file.tar.gz | smbclient '\\server\share' -Tx -

Thanks.

-- 
giulioo at tiscalinet.it


More information about the samba mailing list