[Klug-general] rsync and exclude

sharon kimble boudiccas at talktalk.net
Sat Oct 8 00:42:38 UTC 2011


Following the man page I've got an 'exclude.txt' file which just has five 
entries ;= *.mp2 
*.ogg 
*.part 
*.avi 
*.rar
 which is called by this command in 'backup.sh' ;- /usr/bin/rsync -av --
exclude-from=/home/boztu/cron/exclude.txt 

But the first three entries in the 'exclude.txt' file are honoured and not 
backed up, whilst the last two are backed up. 

How do I get it so that all the entries in the exclude.txt file are honoured 
please? 

Thanks
Sharon
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.2, KDE 4.4.5, LibreOffice 3.4.3
Registered Linux user 334501 



More information about the Kent mailing list