Can scp be used to update a directory?

Anne Wilson cannewilson at tiscali.co.uk
Tue Mar 21 09:35:43 UTC 2006


On Tuesday 21 March 2006 07:28, James Wilkinson wrote:
>
> I should have thought --exclude .[a-z]* or --exclude .??* would have got
> rid of most hidden files and directories. A quick check on my home
> directory suggests both would do the job [1]
>
Thanks for the suggestion - I'll try it today.

> I'd also suspect that for the test, you need to --exclude ~/Desktop :
> things could get odd if you repeatedly try to syncronise all of your
> home directory to somewhere underneath it.
>
> Hope this helps,
>
> James.
>
> [1] Assuming that you haven't changed LANG or LC_COLLATE to C, in which
> case .[a-z]* won't get .DCOP*.
>
For the test I will direct it to another folder that can be deleted once I'm 
sure everything is as I wanted it.  

I don't seem to have done too much damage with that first error.  Perhaps it's 
fortunate that I hadn't emptied Trash before I started, and I had done a lot 
of culling.  I always leave things in Trash for a day or two after an 
exercise like that, in case I've made a mistake :-)  Anyway, I was able to 
interrupt while it was still copying Trash, which may have saved the day.  As 
it is, the only thing I've noticed is that I can't get back the default 
Fedora Core wallpaper, which I like to keep on the server box.  It makes a 
clear visual differentiation between that and my own desktop box.  It isn't 
offered along with the other wallpapers, and I don't know its name, so it's 
difficult to search.  I tried a few guesses but without success.

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/20060321/97236bfd/attachment-0001.sig>


More information about the fedora-list mailing list