Xref: utzoo comp.unix.questions:7567 comp.unix.wizards:9315 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!gatech!purdue!decwrl!decvax!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: -since option for ls -lt Message-ID: <220@gsg.UUCP> Date: 8 Jun 88 14:56:17 GMT References: <344@ajpo.sei.cmu.edu> Organization: General Systems Group, Inc., Salem, NH Lines: 26 > Has anyone implemented any of the following for Unix: > > 2. a program to force a specified modification time upon a specified file? comp.sources.misc/8707/33: settime (change the access and modification dates of files) > 3. a program to compare two dates/times and return an appropriate status? com.sources.misc/8708/12: changed (output file names that are modified after mmddyy) We use it here and find it very useful. It works on date only, not time. usage: changed mmddyy dir... alias today "changed `dnt --1 -f=mmddyy`" $ today /usr/spool/news where dnt is my version of date and time, the --1 option give me yesterday's date so changed will work properly. One bug: you can not do: "today ." if you have >1 level of subdirectories. -- Paul Lew {oliveb,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 5 Manor Parkway, Salem, NH 03079 (603) 893-1000