T o n g <mlist4sunt...@yahoo.com> 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 debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ygftxsk38a0....@janus.isnogud.escape.de

Reply via email to