-since option for ls -lt

Paul Lew lew at gsg.UUCP
Thu Jun 9 00:56:17 AEST 1988


> 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



More information about the Comp.unix.wizards mailing list