{"id":369,"date":"2019-10-21T19:59:45","date_gmt":"2019-10-21T17:59:45","guid":{"rendered":"http:\/\/linuxboxen2.dk\/?p=369"},"modified":"2019-10-21T19:59:45","modified_gmt":"2019-10-21T17:59:45","slug":"touch","status":"publish","type":"post","link":"https:\/\/www.linuxboxen.dk\/?p=369","title":{"rendered":"TOUCH"},"content":{"rendered":"<p>TOUCH(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TOUCH(1)<\/p>\n<p>NAME<\/p>\n<p>touch &#8211; change file timestamps<\/p>\n<p>SYNOPSIS<\/p>\n<p>touch [OPTION]&#8230; FILE&#8230;<\/p>\n<p>DESCRIPTION<\/p>\n<p>Update the access and modification times of each FILE to the current<br \/>\ntime.<\/p>\n<p>A FILE argument that does not exist is created empty, unless -c or -h<br \/>\nis supplied.<\/p>\n<p>A FILE argument string of &#8211; is handled specially and causes touch to<br \/>\nchange the times of the file associated with standard output.<\/p>\n<p>Mandatory arguments to long options are mandatory for short options<br \/>\ntoo.<\/p>\n<p>-a\u00a0\u00a0\u00a0\u00a0 change only the access time<\/p>\n<p>-c, &#8211;no-create<br \/>\ndo not create any files<\/p>\n<p>-d, &#8211;date=STRING<br \/>\nparse STRING and use it instead of current time<\/p>\n<p>-f\u00a0\u00a0\u00a0\u00a0 (ignored)<\/p>\n<p>-h, &#8211;no-dereference<br \/>\naffect each symbolic link instead of any referenced file<br \/>\n(useful only on systems that can change the timestamps of a<br \/>\nsymlink)<\/p>\n<p>-m\u00a0\u00a0\u00a0\u00a0 change only the modification time<\/p>\n<p>-r, &#8211;reference=FILE<br \/>\nuse this file&#8217;s times instead of current time<\/p>\n<p>-t STAMP<br \/>\nuse [[CC]YY]MMDDhhmm[.ss] instead of current time<\/p>\n<p>&#8211;time=WORD<br \/>\nchange the specified time: WORD is access, atime, or use:<br \/>\nequivalent to -a WORD is modify or mtime: equivalent to -m<\/p>\n<p>&#8211;help display this help and exit<\/p>\n<p>&#8211;version<br \/>\noutput version information and exit<\/p>\n<p>Note that the -d and -t options accept different time-date formats.<\/p>\n<p>GNU coreutils online help: &lt;http:\/\/www.gnu.org\/software\/coreutils\/&gt;<br \/>\nReport touch translation bugs to<br \/>\n&lt;http:\/\/translationproject.org\/team\/&gt;<\/p>\n<p>DATE STRING<\/p>\n<p>The &#8211;date=STRING is a mostly free format human readable date string<br \/>\nsuch as &#8220;Sun, 29 Feb 2004 16:21:42 -0800&#8221; or &#8220;2004-02-29 16:21:42&#8221; or<br \/>\neven &#8220;next Thursday&#8221;.\u00a0 A date string may contain items indicating<br \/>\ncalendar date, time of day, time zone, day of week, relative time,<br \/>\nrelative date, and numbers.\u00a0 An empty string indicates the beginning<br \/>\nof the day.\u00a0 The date string format is more complex than is easily<br \/>\ndocumented here but is fully described in the info documentation.<\/p>\n<p>AUTHOR<\/p>\n<p>Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie,<br \/>\nand Randy Smith.<\/p>\n<p>COPYRIGHT<\/p>\n<p>Copyright \u00a9 2014 Free Software Foundation, Inc.\u00a0 License GPLv3+: GNU<br \/>\nGPL version 3 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;.<br \/>\nThis is free software: you are free to change and redistribute it.<br \/>\nThere is NO WARRANTY, to the extent permitted by law.<\/p>\n<p>SEE ALSO<\/p>\n<p>The full documentation for touch is maintained as a Texinfo manual.<br \/>\nIf the info and touch programs are properly installed at your site,<br \/>\nthe command<\/p>\n<p>info coreutils &#8216;touch invocation&#8217;<\/p>\n<p>should give you access to the complete manual.<\/p>\n<p>COLOPHON<\/p>\n<p>This page is part of the coreutils (basic file, shell and text<br \/>\nmanipulation utilities) project.\u00a0 Information about the project can<br \/>\nbe found at \u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 If you have a<br \/>\nbug report for this manual page, see<br \/>\n\u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 This page was obtained from<br \/>\nthe tarball coreutils-8.23.tar.xz fetched from<br \/>\n\u27e8http:\/\/www.gnutls.org\/download.html\u27e9 on 2014-12-30.\u00a0 If you discover<br \/>\nany rendering problems in this HTML version of the page, or you<br \/>\nbelieve there is a better or more up-to-date source for the page, or<br \/>\nyou have corrections or improvements to the information in this<br \/>\nCOLOPHON (which is not part of the original manual page), send a mail<br \/>\nto\u00a0man-pages@man7.org<\/p>\n<p>GNU coreutils 8.23\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 December 2014\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TOUCH(1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TOUCH(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TOUCH(1) NAME touch &#8211; change file timestamps SYNOPSIS touch [OPTION]&#8230; FILE&#8230; DESCRIPTION Update the access and modification times of each FILE to the current time. A FILE argument that does not exist is created empty, unless -c or -h is supplied. A FILE argument string of &#8211; is handled specially and causes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-369","post","type-post","status-publish","format-standard","hentry","category-shell"],"a3_pvc":{"activated":false,"total_views":0,"today_views":0},"_links":{"self":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=369"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/369\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}