I created a pretty complex exclude file recently and it took a lot of help
from the forum. But, I learned that using +/- in front of each line is very
helpful. The order is also very important. Try the following exclude files.
[start]
- phoenix/default/*/Cache/* (not sure how rsync handles dot fi
Correction:
The options I'm comparing are -avr and -avrn. I meant that I'm getting a
different report with the -n compared to without -n.
Sorry...
Thanks,
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 1
I've noticed a difference between the dry-run and normal execution as well
using /usr/local/bin/rsync -avrnz --exclude-from=/davet/rsync.webmstr1
--stats [EMAIL PROTECTED]::webmstr1 /export/home/webmstr.
I'm not clear why, but it appears as if the dry run method, using -n, is not
reporting all the
I have a defunct process (13130) that won't respond to kill -9. It's parent
(13127) appears to be an old script running rsh. I have a few questions on
this.
1. Is it a potential security risk (beyond the fact that it's not a secure
shell) to have an rsh process open for that long?
2. How dangerous
Found a space after + /nflmg/scripts/regional/misc_loaders/ which caused the
subdirectory to be missed. Thanks a bunch for your example. That illustrated
the issue well. Once I got rid of the space and saw that your example did
work, it made it much easier to understand how the rules build. The key
Hope, I'm not being a pain, but...
In, my config, why does [- /*] exclude [+
nflmg/scripts/regional/misc_loaders/] but not [+ bin/]?
Also, the config you gave me, still ignored [+
nflmg/scripts/regional/misc_loaders/]
Thanks,
Dave
-Original Message-
From: Turner, Dave
Sent: Friday,
I have created two new files /export/home/bin/test_temp.delete_me and
/export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me
on the rsync server and am using the following exclude file.
+ bin/
+ nflmg/scripts/regional/misc_loaders/
- core
- *.bz2
- *.orig
- *.BAK
- *.bak
- *
Thanks Wayne! That's doing the trick. I've been playing with combinations
and am now getting what I expect.
I think I'll be using something close to this for my exclude file to get
what I want.
+ /testdir/*
- /*/
Combining that with different modules will make it a much simpler task.
Thanks!
-
Learning rsync (love it) and am requesting some help in understanding the
exclude-from/include-from rules. I've been doing some testing and the
results aren't coming out as I expected.
Problem:
I have a directory with several dozen sub directories and would like to
selectively pick a couple dozen