Received Thu, 16 Jun 2005 16:30:53 PHT
Last modified - linux - howto find or know the "file last modified" information for any file
Last modified
- linux
- howto find or know the "file last modified" information for any file
in shell - enter
date --iso-8601=seconds -u -r /path-to/file.html
--iso-8601=seconds
TIMESPEC=`date' with the desired precision - here seconds
--iso-8601=minutes - would show last modified time in minutes only
-r
display the last modification time of FILE
-u
print or set Coordinated Universal Time i.e. GMT
for full details see
man date
the complete command
date --iso-8601=seconds -u -r /root/post_18.txt
gives you exactly the format Google sitemap needs - and eventually other major search engines as well - for the "file last modified information"
god bless
hans
- linux
- howto find or know the "file last modified" information for any file
in shell - enter
date --iso-8601=seconds -u -r /path-to/file.html
--iso-8601=seconds
TIMESPEC=`date' with the desired precision - here seconds
--iso-8601=minutes - would show last modified time in minutes only
-r
display the last modification time of FILE
-u
print or set Coordinated Universal Time i.e. GMT
for full details see
man date
the complete command
date --iso-8601=seconds -u -r /root/post_18.txt
gives you exactly the format Google sitemap needs - and eventually other major search engines as well - for the "file last modified information"
god bless
hans






