Deutsch English Français Italiano |
<va51q0$3tq54$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: The Natural Philosopher <tnp@invalid.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Copy a file from local to network preserving timestamp Date: Wed, 21 Aug 2024 16:40:48 +0100 Organization: A little, after lunch Lines: 25 Message-ID: <va51q0$3tq54$1@dont-email.me> References: <va50u0$3tav1$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 21 Aug 2024 17:40:48 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7665d9bddf1aa89590fd90bf28892d4c"; logging-data="4122788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mF3z61gX4MPyNBbw3oBpBQzXeKgvexII=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:x7B4xiBGxNZzdWFVqLqAq4VHAU8= In-Reply-To: <va50u0$3tav1$3@dont-email.me> Content-Language: en-GB Bytes: 1900 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