smbclient stdin/stdout redirection from/to gzip

Giulio Orsero giulioo at
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?

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

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


giulioo at

More information about the samba mailing list