Displaying 2 results from an estimated 2 matches for "irdtools".
Did you mean:
rrdtools
2005 Oct 18
1
Help needed with filtering rules - how to copy named directories only
...s to copy all directories named lib (and
their contents) over to a local drive. It's currently a pull operation, but
I could set it up as a push.
I've read the man page twice, looked at the FAQ, examples and searched on
google but no joy.
My command looks like the following:
RSYNC=/apps/IRDtools/pkgs/pd/rsync/prod/bin/rsync
$RSYNC -vv --dry-run -a --rsync-path=$RSYNC --exclude-from=copy_control
<hostname>:/apps/IRDtools/pkgs /apps/IRDtools/pkgs
copy_control looks like this:
+ lib/
- *
This exludes everything as the parent directories are not matched so I've
also tried:
+ */
+...
2005 Oct 19
1
Help needed with filtering rules - how to copy named director ies only
...avid, FM
Cc: 'rsync@lists.samba.org'
Subject: Re: Help needed with filtering rules - how to copy named
directories only
On Tue, Oct 18, 2005 at 01:03:17PM +0100, CARTER-HITCHIN, David, FM wrote:
> The only way I can think around this is to run on the source server
> "find /apps/IRDtools/pkgs -name lib -type d" and pipe the output of
> that into an rsync "--files-from=-".
Yes, that's the only solution that avoids creating a lot of empty dirs
at the moment. The closest you can get with include/exclude rules is
something like this:
+ */
+ lib/*
- *
That woul...