On Apr 25, 2014, at 10:12 AM, Rainer Orth <r...@cebitec.uni-bielefeld.de> wrote: >> What about cp a b && touch -r a b? Seems safer, seem portable enough. > > I don't see why this shouldn't work.
It won’t work on a machine from 1982… Honest. Life goes on, oh well… cp a b && { touch -r a b || true; } is the portable version, if you want. :-)