[Bug 11423] rsync 3.1.x is creating empty backup directories

samba-bugs at samba.org samba-bugs at samba.org
Mon Aug 17 03:12:11 UTC 2015


https://bugzilla.samba.org/show_bug.cgi?id=11423

--- Comment #9 from Kevin Korb <rsync at sanitarium.net> ---
While it is true that 'rmdir --ignore-fail-on-non-empty "$BACKUP_DIR"' is GNU
(not Linux) specific it is also true that 'rmdir "$BACKUP_DIR" > /dev/null
2>&1' is POSIX specific.  If you want even more compatibility here is the
[t]csh version: rmdir "$BACKUP_DIR" >& /dev/null

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list