[Samba] Preserving timestamps with smbclient

Helmut Hullen Hullen at t-online.de
Wed Nov 9 13:29:00 MST 2011

Hallo, Phillip,

Du meintest am 09.11.11:

> I have a backup script that uses smbclient to push files to a Windows
> server and I have noticed that the mtime on the server is the time of
> upload, not the mtime of the original file.  I can not find an option
> to preserve the original mtime.  Does such a thing exist?  Shouldn't
> it do this by default?

        cp -a

Viele Gruesse!

More information about the samba mailing list