Re: --include option

2002-08-14 Thread Nitin Agarwal
Rather u can make two files, name the first one as includelist and second one as exclude list. Make entries of all the files u want to include in rsync in file "includelist" and entries of files to be excluded in "excludelist". then give the command: rsync -avz .. --include-from=includelist -

RE: --include option

2002-08-14 Thread Leaw, Chern Jian
Hi Nitin, How should I include the patterns to be included for the --include-from=include_list? I've tried the method suggested from Wayne, but could not work. I've also tried having the --exclude-from=exclude-list in use together with the --include-from=include_list, but seems to me that the -

Re: --include option

2002-08-14 Thread Nitin Agarwal
Hi Leaw Follow the following steps 1) Make the file "includelist" and "excludelist" in any directory for example in: /rs/ 2) Make entries of all the Directories as follows in "includelist" (the files to be included) clock_speed dir1 dir4 dir5 3) Make entries of all

Selective sync

2002-08-14 Thread Ivan Kovalev
I have a strange problem, apparently contradicting man pages and recent postings on --include / --exclude options. On the server host I have directories to replicate only if they match a specific pattern ( date in different formats), they might be located 1 or 2 levels down from root directory an

RE: --include option

2002-08-14 Thread Wayne Davison
On Tue, 13 Aug 2002, Leaw, Chern Jian wrote: > I tried your suggestion, but did not work. It still copied the entire > filesystem across to the destination machine. Since you failed to provide the command-line you're using, I can't tell you exactly why your command failed. For instance, if you u

Re: Selective sync

2002-08-14 Thread Wayne Davison
On Wed, 14 Aug 2002, Ivan Kovalev wrote: > rootdir/*/2002-08-01 > rootdir/*/*/1-Aug-02 > rootdir/*/2002-08/01 As the documentation states, if you use --exclude=*, you need to include every parent directory on the way down to the directories in question. So, it's easy to see that the rules you gav

RE: --include option

2002-08-14 Thread Wayne Davison
On Wed, 14 Aug 2002, Wayne Davison wrote: > In a combined file, items that begin with "+ " are always taken to be > exclusions Of course, that should have been "inclusions", not "exclusions". ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before po