Can scp be used to update a directory?
Anne Wilson
cannewilson at tiscali.co.uk
Sun Mar 19 12:30:38 UTC 2006
On Sunday 19 March 2006 02:38, Jeff Vian wrote:
> > Hmm - I'm getting something badly wrong here:
> >
> > [anne at david ~]$ rsync -auvz /home/anne/ ssh:anne at borg:/home/anne/
> > --exclude .* > ~/Desktop/rsynctest.txt
>
> The .* includes all hidden (.xxxx) files, the .. (parent) directory, and
> the . (current) directory. It may not have been what you wanted.
>
Of course - I had overlooked the . and .. directories. That explains what
happened. So, how can I rsync all my home folder, excluding the hidden files
and, say Desktop and Download directories? I'd realy appreciate an example.
I'm managing to get workable recursive directory copies now, but if I have to
do a manual listing of those transfers I would miss any new ones created.
Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060319/2b1f3312/attachment-0001.sig>
More information about the fedora-list
mailing list