The Samba-Bugzilla – Bug 4199
smbclient and smbget won't keep timestamps on downloaded files
Last modified: 2012-09-24 08:44:29 UTC
I want to download from another samba server files and keep dates of downloaded files. But samba always set timestamps of download time (not file timestamp).
Commands used to reproduce error:
smbget -RnP smb://root:password@server/path/
smbget -Rn --keep-permissions smb://root:password@server/share/
smbclient //server/share password -U root -d 0 -c "prompt; mget *"
Is it possible to fix it in next release? It's very important for me.
I need to keep the mtime of the transfered files. This feature would be very good.