HP3000-L Archives

October 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Miller <[log in to unmask]>
Reply To:
Steve Miller <[log in to unmask]>
Date:
Tue, 16 Oct 2001 10:57:30 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
Heidi,

Use a -t option with touch and specify the date and time in YYYMMDDHHMM
format.

 :sh.hpbin.sys "-c 'touch -t 200109151030 myfile'"

should set the mod and access date/time to 09/15/2001 10:30 am for myfile.

Steve Miller
Beechglen Development, Inc
Cincinnati, Ohio

----- Original Message -----
From: "Heidi Wilker" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, October 16, 2001 10:08 AM
Subject: Re: Putting 'touch' in logon UDC...


> Is there a method or utility available to change a file's dates to a
> user-specified date (other than changing the current date on the system)?
>
>
>
> -----Original Message-----
> From: Andrew Russel [mailto:[log in to unmask]]
> Sent: Tuesday, October 16, 2001 9:46 AM
> To: [log in to unmask]
> Subject: Re: Putting 'touch' in logon UDC...
>
>
> Thanks to Robert, Ken, Steve and Ted for you help on
> this. The best solution was to run the 'sh' with the
> '-c option thus...
>
> XEQ sh.hpbin.sys;INFO="-c 'touch -a
> /!HPACCOUNT/!HPGROUP/*'"
>
> Many thanks again,
>
> Andrew.
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2