02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NAME<br />

touch — change file modification date<br />

SYNOPSIS<br />

touch<br />

touch [-acm] [-f agefile] [-r agefile] [[-t] time] file ...<br />

touch [-acm] time file ...<br />

DESCRIPTION<br />

The touch <strong>com</strong>mand changes certain dates for each file argument. By default, touch sets both<br />

the date of last file modification and the date of last file access to the current time. This is useful for<br />

maintaining correct release times for software and is particularly useful in conjunction with the MKS<br />

Make software development facility.<br />

Options<br />

-a<br />

-c<br />

-m<br />

sets only the access time.<br />

does not create any files that do not already exist. Normally, touch creates such files.<br />

sets only the modification time.<br />

If you do not specify -a or -m, touch behaves as though you specified both.<br />

To tell touch to use a time other than the current, use one of the following options:<br />

-f agefile<br />

is an obsolete version of the POSIX-<strong>com</strong>pliant -r option.<br />

-r agefile<br />

sets the access and modification times (as indicated by the other options) to those kept for<br />

agefile.<br />

-t time<br />

specifies a particular time using this format:<br />

[[[[cc]yy]MM]dd]hhmm[.ss]<br />

451 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!