I recently ran the following command:
$ rsync -avxH remotesystem:path/to/something
I.e., I forgot to put "." at the end of the line, to copy the stuff from
the remote system to the current directory.
The result of the above command was that it listed all the files (and
subdirectories and files in the subdirectories and so on), in the same
manner and format that it would if it was copying them somewhere, but (and
here's the key!) nothing was copied. I was shocked to see that after the
command finished, the current directory was (still) empty. As far as I can
tell nothing was changed - either on the local or the remote system(s).
So, what is the above command supposed to do? "man rsync" shows that the
"DEST" argument is optional, but doesn't say what happens if it is omitted.
As far as I can tell, there aren't any examples in "man rsync" that omit
DEST.
Note: When I re-ran the above command with "." at the end, it performed as
expected.
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/IceCream