Deutsch English Français Italiano |
<va6igk$a1bk$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Copy a file from local to network preserving timestamp Date: Thu, 22 Aug 2024 05:32:04 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: <va6igk$a1bk$1@dont-email.me> References: <va50u0$3tav1$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 22 Aug 2024 07:32:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="121cecafcfd9e311c6d841fd8b3330b2"; logging-data="329076"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QGtUYLattoGiZiI0AGUxe" User-Agent: Pan/0.159 (Vovchansk; ) Cancel-Lock: sha1:Jh1IrP+rcI7exxvKtqSabFQInQs= Bytes: 1497 On Wed, 21 Aug 2024 17:25:52 +0200, ambaraba wrote: > 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 :-( cp and rsync should work. You can verify this by trying your same commands between local volumes. The fact that the commands don’t work on the file server sounds like the fault of the file server.