Copy a file from local to network preserving timestamp

Liste des GroupesRevenir à col misc 
Sujet : Copy a file from local to network preserving timestamp
De : ambaraba (at) *nospam* none.nn (ambaraba)
Groupes : comp.os.linux.misc
Date : 21. Aug 2024, 16:25:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va50u0$3tav1$3@dont-email.me>
User-Agent : Betterbird (Linux)
I would like to copy a file
from srcdir [local HDD "UUID=5AAAA.. /mnt/srcdir  ntfs-3g" in fstab]
to destdir [network share "//192.168.xx.xx /mnt/destdir ... cifs ..." in fstab]
preserving the original creation date.
I've tried
 > cp -p /mnt/srcdir/FILE.jpg /mnt/destdir/FILE.jpg
 > rsync -vuart /mnt/srcdir      /mnt/destdir
 > dd ... can't remember the options
I've also tried with "freefilesync"
Unfortunately the timestamp on the destination is not preserved :-(
Is it there a way to
copy a file (many files) from local to network share
preserving timestamp ?
I'm considering "timeshift" but honestly ...
THANKS for any help

Date Sujet#  Auteur
21 Aug 24 * Copy a file from local to network preserving timestamp8ambaraba
21 Aug 24 +- Re: Copy a file from local to network preserving timestamp1The Natural Philosopher
21 Aug 24 +* Re: Copy a file from local to network preserving timestamp2Lew Pitcher
21 Aug 24 i`- Re: Copy a file from local to network preserving timestamp1ambaraba
22 Aug 24 +- Re: Copy a file from local to network preserving timestamp1186282@ud0s4.net
22 Aug 24 +* Re: Copy a file from local to network preserving timestamp2Lawrence D'Oliveiro
22 Aug 24 i`- Re: Copy a file from local to network preserving timestamp1vallor
23 Aug 24 `- Re: Copy a file from local to network preserving timestamp1Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal