Rsync can not delete an non-empty folder.

Steven Xu steven.xu at lba.ca
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.

 

Thanks.

 

Steven Xu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101111/a3e0a6e6/attachment.html>


More information about the rsync mailing list