Pierre Fortin wrote:
 
> Red Hat Linux User wrote:

> > I guess I'm dense. I can set a date stamp with the following syntax:

> > touch -d 0326 filename

> > which gets me 26 March 2001. This is OK if I want only to set day and
> > month. If I want a specific hour or year, no matter what numerical value
> > I supply, touch returns 'invalid date format'. man touch gives no
> > examples. What's the secret?
 
> >From man touch:
>        -t STAMP
>               use [[CC]YY]MMDDhhmm[.ss] instead of current time
> so:
>           touch -t 0104011234.56 ...
> gives Apr 1,2001 12:34:56

Coulda sworn I tried that one. Gotta get more sleep. At least I'm not
Red Hat User any more. Now I've got to get back to setting up ipmasq.
Thanks again!
-- 
A fool gives full vent to his anger, but a wise man keeps himself under
control.                Proverbs 29:11 NKJV

 Team OS/2

Felix Miata  ***  http://mrmazda.members.atlantic.net/



Reply via email to