Is it a bug that while (GNU)
ETA: Please Switch NoBoydie, those of you to whom that means something...
tar -cjf foo.tar.bz2
creates foo.tar.bz2
, tar -cjf user@host.name.fqdn:/path/to/foo.tar.bz2
won't create /path/to/foo.tar.bz2
on the target host, instead failing with ENOENT
, or merely a bug in the man-page that it doesn't mention this fact?ETA: Please Switch NoBoydie, those of you to whom that means something...
(no subject)
(no subject)
touch /path/to/foo.tar.bz2
before invokingtar
works too, AFAICT(no subject)
tar
will connect to a remote host by unspecified means, and is only foiled by the nonexistence of the file on that host? Or have I misunderstood?I would say that the failure to transparently create a file on a remote host can only be seen as a bug in
tar
if you're also willing to see it as a bug in absolutely all other Unix programs which take pathnames on their command lines (fromcat
tooowriter
), i.e. essentially extend the Unix pathname format to include a syntax for specifying remote file access, and arrange to be able to support that syntax universally (err, somehow - probably by putting more cleverness inlibc
).VMS does do this, but Unix never has done, and it would seem odd for
tar
in particular to be singled out if you're unhappy with the latter.(no subject)
--rsh-command=/usr/bin/ssh
(no subject)
--rsh-command
in the man page, but oddly I can still find no text about what it's for or what syntax you should use to invoke it. Presumably that's just because GNU in their unbounded wisdom put all that in the info file instead :-(I still say it's odd to single out
tar
from all the other Unix programs that might usefully do transparent remote file access, but now it's odd of GNU rather than of you :-)(no subject)
(no subject)
"cat came back from Berkeley waving flags" — Rob Pike
(no subject)
(no subject)
(no subject)
(ICL 3300, aka the PERQ3a.)
(no subject)
(no subject)
(no subject)
Doesn't work for me, though (Debian squeeze): and the big advantage of piping through ssh is that you know exactly what it's doing...
(no subject)
user@host.name.fqdn:/path/to/foo.tar.bz2
on the local host.tar
has moved on since I last read the man page.(no subject)
user@host.name.fqdn:/path/to
doesn't already exist?(no subject)
It works just fine, at least with squeeze or better at each end.
With lenny at the receiving end it just hangs for me (and I don't have time to figure out why right now).
Perhaps you've omitted some aspect of what you're trying to do from your description.
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
I like its manpage:
BUGS
People should be discouraged from using this for a remote file access protocol.
(S)
(no subject)