<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MrBrown blob &#187; coretutils</title>
	<atom:link href="http://charles.lescampeurs.org/tag/coretutils/feed" rel="self" type="application/rss+xml" />
	<link>http://charles.lescampeurs.org</link>
	<description>random bits.</description>
	<lastBuildDate>Thu, 02 Feb 2012 14:34:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The unix touch command</title>
		<link>http://charles.lescampeurs.org/2008/09/11/the-unix-touch-command?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-unix-touch-command</link>
		<comments>http://charles.lescampeurs.org/2008/09/11/the-unix-touch-command#comments</comments>
		<pubDate>Thu, 11 Sep 2008 05:30:19 +0000</pubDate>
		<dc:creator>CharlyBr</dc:creator>
				<category><![CDATA[Command line]]></category>
		<category><![CDATA[coretutils]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://charles.lescampeurs.org/?p=53</guid>
		<description><![CDATA[This post is a quick ref on the linux touch command. All the examples have been tested on Linux. This command is used to update the access and modification times of files. touch&#8217;s syntax touch [option] file_name(s) touch file1 file2 file3 Here some examples: # touch /tmp/file # ls -l /tmp/file rw-r--r-- 1 charlybr charlybr [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a quick ref on the linux touch command. All the examples have been tested on Linux.</p>
<p>This command is used to update the access and modification times of files.</p>
<ul>
<li>touch&#8217;s syntax</li>
</ul>
<pre>touch [option] file_name(s)
touch file1 file2 file3</pre>
<ul>
<li>Here some examples:</li>
</ul>
<pre># touch /tmp/file
# ls -l /tmp/file
rw-r--r-- 1 charlybr charlybr 0 Sep 10 16:13 /tmp/file</pre>
<ul>
<li>Update access and modification time to current time:</li>
</ul>
<pre># ls -l /tmp/file
rw-r--r-- 1 charlybr charlybr 0 Sep 10 16:13 /tmp/file
# touch /tmp/file
# ls -l /tmp/file
rw-r--r-- 1 charlybr charlybr 0 Sep 10 16:14 /tmp/file</pre>
<ul>
<li>Update access and modification time to a specified timestamp ([[CC]YY]MMDDhhmm[.ss] format):</li>
</ul>
<pre># touch -t 09091842 /tmp/file
# ls -l /tmp/file
-rw-r--r-- 1 charlybr charlybr 0 Sep  9 18:42 /tmp/file</pre>
<ul>
<li>Update access and modification time to a specified date</li>
</ul>
<pre># touch -d '9 Sep' /tmp/file
# ls -l /tmp/file
-rw-r--r-- 1 charlybr charlybr 0 Sep  9 00:00 /tmp/file
# touch -d '9 Sep 2008 13:14' /tmp/file
# ls -l /tmp/file
-rw-r--r-- 1 charlybr charlybr 0 Sep  9 13:14 /tmp/file</pre>
<h2>Links</h2>
<ul>
<li>touch is part of the <a title="Coreutils package" href="http://www.gnu.org/software/coreutils/" target="_blank">Coreutils</a> package</li>
<li><a title="touch documentation page" href="http://www.gnu.org/software/coreutils/manual/html_node/touch-invocation.html#touch-invocation" target="_blank">touch documentation page</a></li>
<li><a title="touch man page on FreeBSD" href="http://www.freebsd.org/cgi/man.cgi?query=touch&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+7.0-RELEASE&amp;format=html" target="_blank">man page on FreeBSD</a></li>
</ul>
 <img src="http://charles.lescampeurs.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=53" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://charles.lescampeurs.org/2008/09/11/the-unix-touch-command/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

