The 'modified times' of files and folders is reset when copied from windows to linux?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The 'modified times' of files and folders is reset when copied from windows to linux?
I hope that this is something that I can change
I am copying a lot of data 300 - 400 GB to a nas server that I have setup using SUSE and Samba. The problem is that the 'Modified date' of files that are copied over to the fat32 partitions are reset to the date they are copied. If you move something in Windows it keeps the modified date.
I want to keep the modified dates of each file and folder. Is there some setting somewhere that tells linux to put a new modified date?
If you read the info section for tar, there is an example of piping through the tar command in order to move entire folders or partitions. I believe this would preserve all permissions and access attributes.
The problem is that people will be moving files there themselves when the unit is functioning properly and it will be important to be able to see when the file was modified and not show what time it was copied
I still have a lot to learn, but I am positive and I like linux more and more
aah i see. i suppose they copy using kde or whatever method they want.
Samba is out of my knowledge range I'm afraid, but maybe there's something in it's config that specifies how the times of files apply
when moved? just a guess.
The storage machine (nas server) is the only linux machine in the office if you don't count coda machines, the rest (workstations) are WindowsXP pro's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.