I used to access my NAS via Caja or some other GUI file managers. When I copied a file, the date modified on the target was the same as the source file copied.
Now, I mount my NAS via the command line. But, now, the date modified on the target takes on the current system date and time at the time of copying.
What option can I add or remove to my mount statement so that the date modified on the target takes on what the source file is?
The mount command I use is:
sudo mount -t cifs -o username=<username>,password=<password> //<ip address>/directory /<mount point>
Results of mount -l is:
//<ip address>/<directory> on /media/dnas type cifs (rw,relatime,vers=1.0,cache=strict,username=<username>,domain=<NAS domain>,uid=0,noforceuid,gid=0,noforcegid,addr=<ip address>,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)
Aucun commentaire:
Enregistrer un commentaire