The touch command updates the time-last-modified timestamp on one or more files in your workspace. To set the timestamps, it uses the system clock on your host (the client computer) or the time you specify with -t.Note: touch does not affect the depot at all, just the specified file(s) in your workspace.Typically, you should use touch on files that you copy into the workspace from another location — your home directory, a remote FTP site, etc. Some applications update the timestamps on the files they copy; others don’t.For each directory in <file-list>, process all the files in its subdirectory tree.
• Time in <"YYYY/MM/DD HH:MM:SS"> format, "2007/08/07 20:27:15", for example. Note that you must use quotes when specifying time-spec as YYYY/MM/DD HH:MM:SS to ensure that the entire argument is interpreted by the command shell as a single token.
• Time keyword: nowWhen using the –t option, take into account the possibility of a timewarp. The AC_SYNC environment variable (see AccuRev User Preferences) determines how a timewarp will be handled. See also section System Clock Synchronization of the AccuRev Administrator’s Guide.
Micro Focus |