Rsync can not delete an non-empty folder.

Steven Xu steven.xu at
Thu Nov 11 15:15:45 MST 2010

Hi, All,


I want to delete a folder "xt" through rsync as the following:


C:\Users\Daniel>"C:\Program Files (x86)\cwRsync\bin\rsync" -avz --delete
--include="xt" --exclude="*"  "/cygdrive/e/fileserver/Worksheets/Steven/"
"lba005::fileserver/Worksheets/Steven/" --force

sending incremental file list


cannot delete non-empty directory: xt


sent 63 bytes  received 11 bytes  148.00 bytes/sec

total size is 0  speedup is 0.00



Please give me some advice how to do it.




Steven Xu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list