Shell Commands/Touch

From MorphOS Library

Revision as of 15:43, 6 March 2015 by JPV (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Touch - Creates a file

NAME/A/M, VERBOSE/S, ALL/S

NAME    - Path/name of the file to create
VERBOSE - Tells if the file was touched or created
ALL     - Recursive touch (goes into subdirs)

Touch is used to create empty files. You can specify one or more files to be created.

NOTE: if a file already exists, it won't be modified beside the timestamp.

Example:

Ram Disk:> Touch test test1 test2 VERBOSE
test...touched
test1...created
test2...created