Feature #667

cp support for -a flag

Added by Andrew Stormont almost 7 years ago. Updated over 4 years ago.

Status:ResolvedStart date:2011-01-26
Priority:NormalDue date:
Assignee:Alexander Eremin% Done:

100%

Category:cmd - userland programs
Target version:-
Difficulty:Bite-size Tags:

Description

Lots of time could be saved hacking scripts if support for this flag was implemented, even if it is just ignored.

History

#1 Updated by Roland Mainz almost 7 years ago

Does the following workaround work for you ?
1. Use /usr/bin/sh or /usr/bin/ksh
2. Use in a script "builtin cp" at the top of the script and call '"cp" without full path, e.g. "cp" ?

#2 Updated by Garrett D'Amore almost 7 years ago

This is a trivial RFE except for one problem... -a implies --preserve=links. Of course, we don't have the support for link preservation in illumos cp.

#3 Updated by Alexander Eremin over 4 years ago

  • Tags set to needs-triage
  • Difficulty set to Medium
  • Subject changed from cp support for -a flag. to cp support for -a flag

#4 Updated by Rich Lowe over 4 years ago

  • Tags deleted (needs-triage)
  • Difficulty changed from Medium to Bite-size
  • % Done changed from 0 to 100
  • Assignee set to Alexander Eremin
  • Status changed from New to Resolved
  • Category set to cmd - userland programs

Resolved in 9e647765

Also available in: Atom