Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 42 |
Nodes: | 6 (0 / 6) |
Uptime: | 01:40:47 |
Calls: | 220 |
Calls today: | 1 |
Files: | 824 |
Messages: | 121,542 |
Posted today: | 6 |
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.jpgI've also tried with "freefilesync"
rsync -vuart /mnt/srcdir /mnt/destdir
dd ... can't remember the options
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
cp -p /mnt/srcdir/FILE.jpg /mnt/destdir/FILE.jpgI've also tried with "freefilesync"
rsync -vuart /mnt/srcdir /mnt/destdir
dd ... can't remember the options
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 ..." preserving the original creation date.
To summarize, you want to use Linux tools to copy a file from a (Windows) NTFS directory to a (Windows-compatible) CIFS directory, preserving the (Windows) "creation date" metadata....
HTH
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.jpgI've also tried with "freefilesync"
rsync -vuart /mnt/srcdir /mnt/destdir
dd ... can't remember the options
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
I've tried
cp -p /mnt/srcdir/FILE.jpg /mnt/destdir/FILE.jpgI've also tried with "freefilesync"
rsync -vuart /mnt/srcdir /mnt/destdir
dd ... can't remember the options
Unfortunately the timestamp on the destination is not preserved :-(
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 -vuartI've also tried with "freefilesync"
/mnt/srcdir /mnt/destdir dd ... can't remember the options
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.
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.jpgI've also tried with "freefilesync"
rsync -vuart /mnt/srcdir /mnt/destdir
dd ... can't remember the options
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