[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  1-FEB-1991 01:13:19.21  To:	MRGATE::"ARISIA::EVERHART" CC:	 Subj:	RE: modifying file date   * Received:  by crdgw1.ge.com (5.57/GE 1.80)( 	 id AA17760; Fri, 1 Feb 91 00:22:17 ESTf Received: From hac2arpa.hac.com ([192.48.33.2]) by CRVAX.SRI.COM with TCP; Thu, 31 JAN 91 16:07:56 PST. Received: by hac2arpa.hac.com (5.61++/SMI-DDN)* 	id AA25515; Thu, 31 Jan 91 16:08:22 -0800# Date: Thu, 31 Jan 91 16:08:22 -0800 1 Message-Id: <9102010008.AA25515@hac2arpa.hac.com> 9 Received: by DnaMail (v1.1); Thu Jan 31 15:54:34 1991 PDT 2 From: MNK@RDAC.dnet.hac.com          (Mike Kimura)5 To: ax@hac2arpa.hac.com, leichter@lrw.com@arpa.DECNET   Subject: RE: modifying file date   	Jerry wrote...   / >Here's the simplest "touch" command I know of:  >  >	$ touch :== SET FILE/BACKUP  > O >The only time this fails is in the unlikely case that you want to touch a file M >that is set /NOBACKUP.  (It will, of course, end up being set /BACKUP.)  Not L >a big problem, in my experience - AND you get the advantage of wild-cardingL >and all the standard file selection mechanisms (/CREATED/BEFORE, /BY_OWNER, >etc.) for free.  : 	I prefer the similar command (dare I differ with Jerry?):  ' 	$ touch :== SET FILE/NOEXPIRATION_DATE   A 	This will update the revision date/time to the current date/time @ 	with all the same advantages as SET FILE/NOBACKUP stated above.  C 	If the volume has a retention period specified then the expiration C 	date will get set to the current time + max which is the desirable @ 	behavior if you "touch" the file. If the volume does not have aB 	retention period specified, then the expiration date will get setB 	to "none" (17-NOV-1858 00:00:00.00) which is probably what it was< 	originally since the volume didn't have a retention period.  ? 	/NOEXPIRATION_DATE seems a bit less failure prone then /BACKUP A 	since if you were using /BACKUP someone could accidentally issue = 	TOUCH *.* forget they were in SYS$SYSTEM and end up enabling % 	BACKUPs on the page/swap/dump files.    	Mike L ---------------------------------------------------------------------------- Michael Kimura			 = Hughes Aircraft Company (RSG)	Internet:	mnk@rdac.dnet.hac.com - P.O. Box 92426	  MS: R2/9A37	EDEN:		RDAC::MNK 2 Los Angeles,  CA  90009		Telephone:	(213) 615-9775L ----------------------------------------------------------------------------  