home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / ma_touch.arc / TOUCH.DOC < prev    next >
Encoding:
Text File  |  1988-11-23  |  1.1 KB  |  25 lines

  1. usage:  touch [options] files
  2.  
  3. options are:
  4.  
  5. -c      Normally touch will not create a non-existant file.  This switch causes
  6.         it to do so.  (This is the reverse of the way this switch is handled by
  7.         unix touch.)
  8.  
  9. -r      Normally touch will not affect read-only files.  This switch causes it
  10.         to do so.  (Unix touch uses the -f switch to do this.)
  11.  
  12. -d mm/dd[/yy]   Normally touch sets the files' access times to the current time.
  13. -t hh:mm[:ss]   These switches can be used to set the access times to any
  14.                 desired date and time.  If only the date is specified, the time
  15.         defaults to 0 (00:00:00 or none, depending on the directory lister
  16.         used).  If only the time is specified, the current date is used.
  17.  
  18. -f file         Reads the access time from 'file' and uses it to set the access
  19.         time on the specified files.
  20.  
  21.  
  22. Note that the time is read once and then used to set the access time on the
  23. specified files.  This gives them all the same time, regardless of how long it
  24. takes to execute the command.
  25.