[Samba] Need help with directory create time

Alex Crow acrow at integrafin.co.uk
Fri Sep 23 12:15:05 UTC 2016

>> on the creation time of some folders. When changing to samba4 I used a
>> command in the command line, which has fixed the creation time, but the
>> bash_history was deleted. Do you have any idea?
>> Otherwise I copy the files temporarily to a Windows computer and hope that
>> you can fix the bug with "fake directory create times" soon.
>> Thank you very much.

You're probably looking for the "touch" command the change the times 
from the shell:

        touch - change file timestamps

        touch [OPTION]... FILE...

        Update the access and modification times of each FILE to the 
current time.

        A FILE argument that does not exist is created empty, unless -c 
or -h is supplied.

        A FILE argument string of - is handled specially and causes 
touch to change the times of the file associated with standard output.

        Mandatory arguments to long options are mandatory for short 
options too.

        -a     change only the access time

        -c, --no-create
               do not create any files

        -d, --date=STRING
               parse STRING and use it instead of current time

This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
This email is not intended to, nor should it be taken to, constitute advice.
The information provided is correct to our knowledge & belief and must not
be used as a substitute for obtaining tax, regulatory, investment, legal or
any other appropriate advice.

"Transact" is operated by Integrated Financial Arrangements Ltd.
29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300.
(Registered office: as above; Registered in England and Wales under
number: 3727592). Authorised and regulated by the Financial Conduct
Authority (entered on the Financial Services Register; no. 190856).

More information about the samba mailing list