Re: Copy a file from local to network preserving timestamp

Liste des GroupesRevenir à col misc 
Sujet : Re: Copy a file from local to network preserving timestamp
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc
Date : 21. Aug 2024, 17:40:48
Autres entêtes
Organisation : A little, after lunch
Message-ID : <va51q0$3tq54$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 21/08/2024 16:25, ambaraba wrote:
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
rsync copies my date info???
--
“when things get difficult you just have to lie”
― Jean Claud Jüncker

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