[foxboro] Shell script problem datetimestamp of a file
- From: "Weiss, Andreas" <Andreas.Weiss@xxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Fri, 15 Dec 2006 03:41:16 -0600
Hi List,
how is it possible to retrieve the datetime stamp (year month day hour
minute) of a file within a shell script?
The "ls -l" command provides that kind of information in different ways
but never complete. Instead of getting the english title for the month
do I need the 2 digits.
# ls -l
-rw-r--r-- 1 root other 633 Mar 12 2006
a_file_with_date_only
-r--r--r-- 1 root sys 7728 Dec 11 09:06
a_file_without_the_year
#
Regards,
Andreas
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- Follow-Ups:
- [foxboro] AW: Shell script problem datetimestamp of a file
- From: D.Weinbrenner
- Re: [foxboro] Shell script problem datetimestamp of a file
- From: brad . s . wilson
- Re: [foxboro] Shell script problem datetimestamp of a file
- From: Jeremy Milum
- References:
- [foxboro] Exceed 10 fonts
- From: Lowell, Timothy
Other related posts:
- » [foxboro] Shell script problem datetimestamp of a file
- [foxboro] AW: Shell script problem datetimestamp of a file
- From: D.Weinbrenner
- Re: [foxboro] Shell script problem datetimestamp of a file
- From: brad . s . wilson
- Re: [foxboro] Shell script problem datetimestamp of a file
- From: Jeremy Milum
- [foxboro] Exceed 10 fonts
- From: Lowell, Timothy