Displaying 1 result from an estimated 1 matches for "kfgj0v2y".
2003 Feb 06
1
Trouble with include/exclude patterns
...".mozilla" out of which I want to
copy across 2 files. I have constructed the following rsync invocation:
rsync -e ssh -av --delete \
--exclude='/rpm/BUILD' --exclude='/rpm/SOURCES' --exclude='/rpm/SPECS' --exclude='/rpm/RPMS' \
--include='.mozilla/arb/kfgj0v2y.slt/bookmarks.html' \
--include='.mozilla/arb/kfgj0v2y.slt/prefs.js' \
--exclude='.mozilla' \
.mozilla \
rpm \
$SERVER:laptop-backup
Now, this works correct for the "rpm" directory, by only copying
rpm/SRPMS, and leaving out rpm/BUILD, rpm/SOURCES, /rpm/SPECS and
rpm/...