rsync don't remove folder i erased......

Matt McCutchen hashproduct at verizon.net
Sun Apr 2 00:54:55 GMT 2006


On Sat, 2006-04-01 at 17:55 -0500, Marc Collin wrote:
> rsync -a -r -v --exclude-from=exclude.txt /home/test /tmp/
> 
> when i erase folder in /home/test and do a rsync, 
> rsync don't erase it in /tmp/test...

Use --delete or one of its variants.

-- 
Matt McCutchen
hashproduct at verizon.net
http://hashproduct.metaesthetics.net/



More information about the rsync mailing list