home *** CD-ROM | disk | FTP | other *** search
- usage: touch [options] files
-
- options are:
-
- -c Normally touch will not create a non-existant file. This switch causes
- it to do so. (This is the reverse of the way this switch is handled by
- unix touch.)
-
- -r Normally touch will not affect read-only files. This switch causes it
- to do so. (Unix touch uses the -f switch to do this.)
-
- -d mm/dd[/yy] Normally touch sets the files' access times to the current time.
- -t hh:mm[:ss] These switches can be used to set the access times to any
- desired date and time. If only the date is specified, the time
- defaults to 0 (00:00:00 or none, depending on the directory lister
- used). If only the time is specified, the current date is used.
-
- -f file Reads the access time from 'file' and uses it to set the access
- time on the specified files.
-
-
- Note that the time is read once and then used to set the access time on the
- specified files. This gives them all the same time, regardless of how long it
- takes to execute the command.
-