samba-bugs@samba.org
2009-Feb-17 21:03 UTC
DO NOT REPLY [Bug 6120] New: Default exclude file
https://bugzilla.samba.org/show_bug.cgi?id=6120
Summary: Default exclude file
Product: rsync
Version: 3.0.5
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: wooptoo@gmail.com
QAContact: rsync-qa@samba.org
rsync already has a mechanism for reading exclude patterns from a file, using
the --exclude-from option, but it would be useful to read them from a *default*
file if --exclude-from is omitted.
Something like .gitignore from git.
It could work something like:
1. place .rsyncignore in SRC/ with a list of excluded files/folders
2. rsync -av SRC DEST (without the need to specify --exclude-from, it would
automatically use .rsyncignore)
--
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.
https://bugzilla.samba.org/show_bug.cgi?id=6120 ------- Comment #1 from skee@omicron.token.ro 2009-02-17 15:09 CST ------- alias rsync=rsync --exclude-from=.rsyncignore -- 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.
https://bugzilla.samba.org/show_bug.cgi?id=6120
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Comment #2 from wayned@samba.org 2009-03-13 12:25 CST -------
I also think this is better left to local customization. See the -F option
that causes rsync to use this filter command: --filter=’dir-merge
/.rsync-filter’
If you want that by default, either setup an alias, a wrapper shell script, or
use a popt alias. For instance, you could make the -a option include -F by
putting this in your ~/.popt (or /etc/popt) file:
rsync alias -a -aF
--
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.
Seemingly Similar Threads
- DO NOT REPLY [Bug 5325] New: cannot find popt.h at compile time
- DO NOT REPLY [Bug 6915] New: Reject passing an argument to an option that doesn't take one
- DO NOT REPLY [Bug 6916] New: Avoid bundling a modified zlib
- DO NOT REPLY [Bug 6927] New: Add a --fat option to ignore 1-second time diffs, ownership, hard links, symlinks, etc.
- DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3