[ale] Changing date/timestamp on directory

Dow Hurst dhurst at kennesaw.edu
Fri Dec 27 13:41:02 EST 2002


Thanks so much!  I never had read the touch manpage so wasn't aware of 
the true functionality of the program.  I like the -r flag for having a 
reference file with the date and time you wish to use.  Thanks,
Dow


Jim wrote:

>The command "touch" will do this. Use flag -a to change the access time and -m 
>to change the modification time. After either flae, you can specify the time.
>
>On Friday 27 December 2002 01:26 pm, Dow Hurst wrote:
>  
>
>>How can I change the date and/or timestamp on a directory or file
>>manually?  I know that the c based functions for manipulating files and
>>directories do this all the time.  Is it possible to issue a command at
>>the shell that will make a directory have the modification date and time
>>that I want?  I am making CDs and I wish to assign specific dates and
>>times to newly created directories to reflect the date that the work was
>>done on the files contained within.  The files have the right date and
>>time.
>>
>>I can't use the original directory the files were in since it has an
>>older date and time than I want.
>>Dow
>>    
>>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>  
>

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428
Systems Support Specialist    Fax: 770-423-6744
1000 Chastain Rd., Bldg. 12
Chemistry Department SC428  Email:dhurst at kennesaw.edu
Kennesaw State University         Dow.Hurst at mindspring.com
Kennesaw, GA 30144
*********************************
*Computational Chemistry is fun!*
*********************************


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list