Include/Exclude problems

2009-01-25 Thread Mag Gam
hi, I am trying to rsync a very large filesystem which is about 3TB, but naturally I want to exclude a lot of things. However, I am really struggling with excluding directories. SRC=/dasd/december/2008 #Notice there is no trailing slash TARGET=/backup/december/2008 #Notice there is no trailing s

include/exclude problems

2010-03-25 Thread Vitaly V. Ganusov
Dear Wayne, I am using rsync to synchronize my working files from home computer to the work computer. I want to sync only the files in some directories and no .files. However, I do need to sync several files from .mozilla director (addressbook, calendar and bookmarks) which are located in the

Re: Include/Exclude problems

2009-01-25 Thread Matt McCutchen
On Sun, 2009-01-25 at 10:29 -0500, Mag Gam wrote: > I am trying to rsync a very large filesystem which is about 3TB, but > naturally I want to exclude a lot of things. However, I am really > struggling with excluding directories. > > SRC=/dasd/december/2008 #Notice there is no trailing slash > TA

Re: Include/Exclude problems

2009-01-25 Thread Mag Gam
Thanks Matt for the response. The *** was the magic bullet and it works. Thanks. I was curious about the --link-dest argument. Will this speed up anything? I noticed it has the same default behavior of cp -al If its faster or more efficient I would be more than happy to implement this. O

Re: Include/Exclude problems

2009-01-27 Thread Matt McCutchen
On Sun, 2009-01-25 at 17:26 -0500, Mag Gam wrote: > I was curious about the --link-dest argument. Will this speed up > anything? I noticed it has the same default behavior of cp -al > > If its faster or more efficient I would be more than happy to implement this. You can run rsync once with --li

Re: include/exclude problems

2010-03-25 Thread Paul Slootman
On Thu 25 Mar 2010, Vitaly V. Ganusov wrote: > > from excluded-utk.txt file: > > + .mozilla-thunderbird/ > + .mozilla-thunderbird/afc5fv2p.default/ > + .mozilla-thunderbird/afc5fv2p.default/abook.mab > + .mozilla-thunderbird/afc5fv2p.default/storage.sdb > - .mozilla-thunderbird/afc5fv2p.default/I

Re: include/exclude problems

2010-03-25 Thread Vitaly V. Ganusov
You are right, the reason that I did not see that before is that the file on the server was newer than on my desktop. It now all works. However, it seems like a very messy way to sync a given file (by excluding bunch of other files that are not needed). Would you suggest a better way? Could yo

Re: include/exclude problems

2010-03-26 Thread Benjamin R. Haskell
On Thu, 25 Mar 2010, Vitaly V. Ganusov wrote: > However, it seems like a very messy way to sync a given file (by > excluding bunch of other files that are not needed). Would you suggest > a better way? Could you suggest a simple way/script to generate such > a file (see attached) with only a f