DO NOT REPLY [Bug 7629] Blank filter file option to ignore whole directory

samba-bugs at samba.org samba-bugs at samba.org
Thu Aug 19 08:54:11 MDT 2010


https://bugzilla.samba.org/show_bug.cgi?id=7629


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #1 from wayned at samba.org  2010-08-19 09:54 CST -------
The easiest way to accomplish this is to make that signal file be name
.rsync-filter, put "- *" into it, and use the -F option for the copy.  Rsync
will then obey any filter rules it encounters in the .rsync-filter files it
finds sprinkled around in the hierarchy.  This idiom will leave an empty
directory, though.  If you want to avoid that, you'd need to put "- /dirname"
into the .rsync-filter file of the parent directory (the slash anchors the
exclude in the current directory so it doesn't filter a similarly named
file/dir in another directory).  If you want to hide the parent-dir
.rsync-fiter files, you can repeat the -F option.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list