rsync command
Robert Holtzman
holtzm at cox.net
Sat Jan 24 08:20:26 UTC 2009
On Fri, 23 Jan 2009, David Fox wrote:
> On Fri, Jan 23, 2009 at 6:33 PM, Robert Holtzman <holtzm at cox.net> wrote:
>
>> rsync -vaHz --exclude '/proc' --exclude '/sys' --exclude '/media' /.
>> /media/disk
>>
>> What I'm hazy on is the significance of "/." prior to "/media/disk".
>
> The command is going to sync every file (/.) and write the synced
> files to the /media/disk folder - presumably another HD is mounted at
> that mountpoint.
>
> Try executing 'ls /.' in a terminal and you'll see the output.
I totally missed the fact that "/" is the source. Told you I would be
embarrassed. Still not sure what the "." is as the output of "ls /" and
"ls /." are identical.
Thanks for slapping me upside the head and waking me up.
--
Bob Holtzman
A fair fight is the result of poor planning.
More information about the ubuntu-users
mailing list