I just tested that with plain rsync, and it worked great: rsync -a --delete source/ dest/
dest had a directory, 'notempty', with a file in it. rsync deleted the whole directory. Things to check: a) permissions b) You have recursive selected along with the delete option. On Fri, Jan 21, 2011 at 7:35 AM, cmcanulty <[email protected]> wrote: > > On the same subject, I use grsync and have the delete on destination > checked but constantly get cannot delete non-empty directory. Is there > a way on grsync to have it delete non empty directories? In other > words if it isn't on source I don't want it on destination whether > files, or folders of files.Thank you > > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > -- Daniel -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
