Unix filetimes strange touch results
Von: Chuck Anderson (cycletourist@invalid.invalid) [Profil]
Datum: 07.11.2009 03:01
Message-ID: <hd2kd3$676$1@news.eternal-september.org>
Newsgroup: alt.www.webmaster
Datum: 07.11.2009 03:01
Message-ID: <hd2kd3$676$1@news.eternal-september.org>
Newsgroup: alt.www.webmaster
It would take too much to explain what got me looking at this, so I'll just report what I've discovered. If I touch a file on my Linux host with a date (and time) before 2009/05/10, no matter what I set the time as, when I look at the file time using any FTP client (Filezilla, WSFTP, and Leech), the file time is 00:00. If I touch it with a date (and time) that is after 2009/05/10, the FTP programs display the correct time. This is playing havoc with my remote<->local file synchronization utility. It's this simple: If I enter: touch -d200905091212.12 sample_file.txt and look in my ftp program, the file date and time is: 05092009 00:00 If I enter: touch -d200905101212.12 sample_file.txt and look in my ftp program, the file date and time is: 05102009 12:12 Through trial and error, I have stumbled on this "crossover" date. What am I missing here? And what's so special with May 10, 2009? (Is this perhaps specific to my host?) -- ***************************** Chuck Anderson • Boulder, CO http://www.cycletourist.com Turn Off, Tune Out, Drop In *****************************[ Auf dieses Posting antworten ]
Antworten
- Jerry Stuckle (07.11.2009 03:17)
- 127.0.0.1 (07.11.2009 14:39)
- Jerry Stuckle (07.11.2009 14:45)
- 127.0.0.1 (07.11.2009 16:51)
- Jerry Stuckle (07.11.2009 17:38)
- 127.0.0.1 (07.11.2009 21:31)
- Jerry Stuckle (07.11.2009 21:47)
- 127.0.0.1 (08.11.2009 11:58)
- Chuck Anderson (08.11.2009 03:14)
