Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!pipex!uunet!heifetz.msen.com!lti From: lti@garnet.msen.com (tawollen@limno.com) Newsgroups: comp.unix.bsd Subject: File Dates Date: 22 Dec 1994 05:33:47 GMT Organization: Msen, Inc. -- Ann Arbor, MI (account info: +1 313 998-4562) Lines: 26 Message-ID: <3db33s$eb9$1@heifetz.msen.com> NNTP-Posting-Host: garnet.msen.com X-Newsreader: TIN [version 1.2 PL2] Is there a way that I can get the date of a file using ls to be in a form that I can compare? or can I convert the standard 12 Dec 15:33 to something that I can comare. I am trying to do an ls -l and an ls -lu on a file so I can compare the date last accessed and date last modified and get a result so I can tell a user wether a file has been added to since it was looked at since when a file is added to it does not change the last accessed date.. any help would be appricated.. Thanks Troy BTW using BSDi and csh.. thanks Troy Wollenslegel Limno-Tech, Inc. 824 Brown St #1 Enviromental Eng. Ann Arbor, MI 48104 2395 Huron Parkway (313) 769-2265 hm Ann Arbor, MI 48104 (313) 769-6342 data (313) 973-8300 (810) 617-0736 pager (313) 973-1069 (fax) tawollen@mtu.edu tawollen@limno.com