Displaying 1 result from an estimated 1 matches for "mydirtoexclud".
Did you mean:
mydirtoexclude
2016 Oct 13
6
[Bug 12378] New: why i cannot exclude dir/files if using option "--files-from"
...Contact: rsync-qa at samba.org
I don't understand if this is intended or not, but when I use "--files-from"
and "--exclude" options together all files are synced anyhow.
eg.:
rsync -av -c --delete --relative --delete-excluded --exclude=".cache"
--exclude="mydirToExclude" /home .
it correctly doesn't copy the .cache folder.
but:
rsync -av -c --delete --relative --delete-excluded --files-from=myFileList.txt
--exclude=".cache" --exclude="mydirToExclude" /home .
does copy everything.
instead using a pattern such as --exclude="**m...