Wow, it took me a few seconds to figure out what you were trying to do. What's wrong with rm?
Also I think trying to leverage the side of disqualifying all source files just to get the delete effect (very clever but somewhat obtuse!) risks creating a temporary file of some kind in the target at the start of the operation, and if you cant even mkdir then that exceeds disk quota immediately and fails. /kc On Thu, Apr 16, 2015 at 12:20:52PM +0300, ????? ?????? said: >Hi, Rsync. > >I want to help rsink delete a folder with a large number of files and folders. Tried this: >rsync -a --no-D --delete /dev/null /home/rc-41/data/000000000000061/2015-04-01-07-04/ >skipping non-regular file "null" > >rsync -a --no-D --delete /dev/zero /home/rc-41/data/000000000000061/2015-04-01-07-04/ >skipping non-regular file "zero" > > >That's how it turns out >rsync -a --delete /empty_folder/ /home/rc-41/data/000000000000061/2015-04-01-07-04/ >But this option is not satisfied as if the disk is 100% filled to create an empty folder does not work > >mkdir /empty folder/ >Disk quota ekstseeded > >Got an error. > > >find /home/rc-41/data/000000000000061/2015-04-01-07-04/ -delete >I know not suitable > >rm -rf /home/rc-41/data/000000000000061/2015-04-01-07-04/ >is also not suitable > > > >How to do it differently? > > >-- >Sincerely, > Dugin Sergey mailto: d...@qwarta.ru > QWARTA > >-- >Please use reply-all for most replies to avoid omitting the mailing list. >To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync >Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Ken Chase - k...@heavycomputing.ca skype:kenchase23 +1 416 897 6284 Toronto Canada Heavy Computing - Clued bandwidth, colocation and managed linux VPS @151 Front St. W. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html