Bug 8273 - -a doesn't do -HAX
-a doesn't do -HAX
Status: ASSIGNED
Product: rsync
Classification: Unclassified
Component: core
3.1.0
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-27 23:43 UTC by Dave Yost
Modified: 2011-09-03 22:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Yost 2011-06-27 23:43:42 UTC
It would be nice if -a did everything imaginable to make the destination be like the source, but for some reason it doesn't, and now it's too late to change it.

So there should be a new argument, perhaps --all) that means -aHAX and furthermore means that if some other metadata comes along that needs to be copied, it will be subsumed under this same all-encompassing --all option argument.
Comment 1 Wayne Davison 2011-09-03 22:38:17 UTC
Thanks.  I'm considering adding the --all option.

Note that you can decide that you want your local rsync to treat -a as -aHAX, or add your own --all option via a popt alias in either the global file (/etc/popt) or your local file (~/.popt).  Here's the --all option:

rsync alias --all -aHAX

And here's an override of -a:

rsync alias -a -aHAX