T o n g <[email protected]> writes:

> cp -a, or rsync -a, or cpio normally preserve the source attribute and 
> set the destination attribute accordingly. Now my question is, is there 
> any way for me to preserve the destination attribute and disregard the 
> source attribute. Any way to make it possible, cp/rsync/cpio or something 
> else?

touch -r dst /tmp/ref && cp src dst && touch -r /tmp/ref dst

urs


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to