<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic create a symbolic link with same timestamp as target in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344187#M62885</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm facing an issue with symbolic links and timestamps. It is not possible to change the timestamp of a symlink, but is there any way to create a symbolic link with same timestamp as the target file?&lt;BR /&gt;&lt;BR /&gt;I really hope you can help me out!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 24 Jan 2009 10:40:50 GMT</pubDate>
    <dc:creator>renarios</dc:creator>
    <dc:date>2009-01-24T10:40:50Z</dc:date>
    <item>
      <title>create a symbolic link with same timestamp as target</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344187#M62885</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I'm facing an issue with symbolic links and timestamps. It is not possible to change the timestamp of a symlink, but is there any way to create a symbolic link with same timestamp as the target file?&lt;BR /&gt;&lt;BR /&gt;I really hope you can help me out!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jan 2009 10:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344187#M62885</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2009-01-24T10:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: create a symbolic link with same timestamp as target</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344188#M62886</link>
      <description>I know nothing, but I'd expect "touch" to be&lt;BR /&gt;the program to use.  However, Google found:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.nabble.com/Touch-symlink-td4093016.html" target="_blank"&gt;http://www.nabble.com/Touch-symlink-td4093016.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which seemed to be discouraging.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why do you care?</description>
      <pubDate>Sat, 24 Jan 2009 14:17:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344188#M62886</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-24T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: create a symbolic link with same timestamp as target</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344189#M62887</link>
      <description>Well, I've got a photo-gallery, which uses symlinks in a "sorted" mounpoint in stead of using the original unsorted mp.&lt;BR /&gt;Now all photo's in the gallery are displayed with the wrong timestamp (the timestamp of the symlinks) which is rather annoying.&lt;BR /&gt;I create the symlinks with a script and I'm considering using a 'date' function to change the system time before creating the link, but that's not the most beautiful solution.&lt;BR /&gt;I have searched for a solution before, but did not find the answer. I thought that maybe the gurus at itrc might could hand an/THE option/workaround/solution. &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Sat, 24 Jan 2009 14:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344189#M62887</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2009-01-24T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: create a symbolic link with same timestamp as target</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344190#M62888</link>
      <description>As the symlink is anhoter file, I don't think that you could have the exact timestamp unless you "touch" the file.&lt;BR /&gt;&lt;BR /&gt;Maybe another option, like hard links, or loop mounting the file system may help. Â¿Have you considered an alternate solution to your requirement?</description>
      <pubDate>Sat, 24 Jan 2009 18:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344190#M62888</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-01-24T18:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: create a symbolic link with same timestamp as target</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344191#M62889</link>
      <description>Yes, I've considered other methods, but that would implicitly double the storage.&lt;BR /&gt;&lt;BR /&gt;So I finally found a disadvantage for Linux huh?&lt;BR /&gt;&lt;BR /&gt;Well, since changing the timstamp of a symbolic link isn't an option, I guess hard links are the only option to do the trick.&lt;BR /&gt;&lt;BR /&gt;Does anyone have a little script for lazy me to covert all existing symbolic links to hard ones?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jan 2009 20:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-symbolic-link-with-same-timestamp-as-target/m-p/4344191#M62889</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2009-01-24T20:12:15Z</dc:date>
    </item>
  </channel>
</rss>

