[Bug 4621] Option to create ancestors of destination, like "mkdir -p"

samba-bugs at samba.org samba-bugs at samba.org
Fri Jul 24 03:57:10 UTC 2020


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

Wayne Davison <wayne at opencoder.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Wayne Davison <wayne at opencoder.net> ---
I have added an option named --mkpath that tells rsync to create the path
component of the destination arg if it does not exist.

If you want that to be the default, consider creating a popt alias in ~/.popt
or /etc/popt such as:

rsync alias -a -a --mkpath

which would add it anytime you use the -a option.

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


More information about the rsync mailing list