[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

373.0. ""touch" command" by ANT::SMCAFEE (Steve McAfee) Tue Dec 16 1986 14:10

    
    Does anyone out there have unix-like "touch" command for VMS.
    This will set the file date of a file to the current date.
    
    It should work for any type of file (i.e. text, exe's, etc.).
    
    Sorry if this isn't the proper place to ask for this.
                      
    thanks,
    
    Steve McAfee
T.RTitleUserPersonal
Name
DateLines
373.1ULTRA::CRANEOlorin I was in the West that is forgotten...Tue Dec 16 1986 14:304
Just copy the file to itself: COPY filename.extension;version
filename.extension. Then delete the old version of the file.

Ron
373.2Corporate VTX LibraryVAXUUM::DYERIt's Bedtime for BonzoTue Dec 16 1986 14:582
There's a "touch" tool in the Toolshed.
 <_Jym_>
373.3ERIS::CALLASSo many ratholes, so little timeTue Dec 16 1986 17:073
    Or use rename. It does the same thing.
    
    	Jon
373.4BTW, there's a TOUCH in the ToolshedCLT::GILBERTeager like a childTue Dec 23 1986 16:222
    $ TOUCH == "SET FILE /BACKUP"
    $ TOUCH file-specification,...
373.5CRVAX1::SAEGESSERMarc SaegesserTue Dec 23 1986 17:537
    
    re:  .3
    
    RENAME does not change the creation.  COPY does.
    
    Marc
    
373.6ERIS::CALLASSo many ratholes, so little timeWed Dec 24 1986 13:274
    Rename changes the modification date. That's good enough for MMS.
    SET FILE/BACKUP does the same.
    
    	Jon