s3: Patch to smbclient to add a utimes command for setting the Windows times

Richard Sharpe realrichardsharpe at gmail.com
Thu Sep 14 17:07:36 UTC 2017

On Wed, Sep 13, 2017 at 11:31 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
> Here is a patch to smbclient that adds a utimes command so that you
> can set the times on files.
> It could perhaps be improved but it would seem to be enough for my
> tests where I need to set times from scripts and verify that they are
> correctly set.
> Signed-off-by: Richard Sharpe <realrichardsharpe at gmail.com>

Attached is a change that makes the time format more consistent with
what is printed out.

I am also looking at adding support for SMB2 transports as well as a
test ... since Andreas insists.

Richard Sharpe

More information about the samba-technical mailing list