<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in Create/modify a UNIX file with an arbitrary timestamp | Solaris system administration | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Fri, 22 Apr 2005 03:46:39 -0000</lastBuildDate><item><title>Re: Create/modify a UNIX file with an arbitrary timestamp | Solaris system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/440/createmodify-a-unix-file-with-an-arbitrary-timestamp/#comment-2767501</link><description>touch -B &amp;lt;#&amp;gt; will set the timestamp to a date in the past by the number of seconds provided&lt;br&gt;&lt;br&gt;ie.  touch -B 10 will make the file appear 10 seconds older than the current date.&lt;br&gt;&lt;br&gt;man touch is more helpful than waiting a few months for an answer :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fracai</dc:creator><pubDate>Fri, 22 Apr 2005 03:46:39 -0000</pubDate></item><item><title>Re: Create/modify a UNIX file with an arbitrary timestamp | Solaris system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/440/createmodify-a-unix-file-with-an-arbitrary-timestamp/#comment-2767500</link><description>Excellent..... now.....&lt;br&gt;&lt;br&gt;Who to stamp the timeref file with a date like 15 days ago ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Migxi</dc:creator><pubDate>Thu, 16 Sep 2004 02:56:26 -0000</pubDate></item><item><title>Re: Create/modify a UNIX file with an arbitrary timestamp | Solaris system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/440/createmodify-a-unix-file-with-an-arbitrary-timestamp/#comment-2767499</link><description>Good question.  I've never noticed this behavior before.  I don't see any options for touch that would make it not follow the link.  If you really need the link to be updated by a touch and it is in the same filesystem as the real file, you could use a hard link.  When you touch a hard link, it updates both the link and the original file.  The hard link doesn't look like a symbolic link, it just looks like a regular file, which may not be desirable.  That's the only suggestion that I have.  Anyone else?&lt;br&gt;&lt;br&gt;Quinn</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qmchenry</dc:creator><pubDate>Tue, 27 Apr 2004 01:56:30 -0000</pubDate></item><item><title>Re: Create/modify a UNIX file with an arbitrary timestamp | Solaris system administration | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/440/createmodify-a-unix-file-with-an-arbitrary-timestamp/#comment-2767498</link><description>How do you handle symbolic links? The touch command affects the target of the symbolic link and not the link itself.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gandalf</dc:creator><pubDate>Mon, 26 Apr 2004 00:27:07 -0000</pubDate></item></channel></rss>