<?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 adding timestamp to filename in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977832#M419152</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;how do i add a timestamp to a filename?&lt;BR /&gt;&lt;BR /&gt;e.g. i want to do a copy (backup) of a certain file and would like to concatenate a timestamp to it&lt;BR /&gt;&lt;BR /&gt;thanks in advance !&lt;BR /&gt;&lt;BR /&gt;:)</description>
    <pubDate>Mon, 08 May 2006 21:58:49 GMT</pubDate>
    <dc:creator>so.nimda</dc:creator>
    <dc:date>2006-05-08T21:58:49Z</dc:date>
    <item>
      <title>adding timestamp to filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977832#M419152</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;how do i add a timestamp to a filename?&lt;BR /&gt;&lt;BR /&gt;e.g. i want to do a copy (backup) of a certain file and would like to concatenate a timestamp to it&lt;BR /&gt;&lt;BR /&gt;thanks in advance !&lt;BR /&gt;&lt;BR /&gt;:)</description>
      <pubDate>Mon, 08 May 2006 21:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977832#M419152</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2006-05-08T21:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: adding timestamp to filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977833#M419153</link>
      <description>You can do this by touch command&lt;BR /&gt;touch -t &amp;lt; time&amp;gt; filename&lt;BR /&gt;format of time is [[CC]YY]MMDDhhmm[.SS]&lt;BR /&gt;Do a man on touch to find more about it.&lt;BR /&gt;Here is a example to change the time stamp of a file called root to May  5  2005&lt;BR /&gt;&lt;BR /&gt;touch -t 200505051000 root&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Mon, 08 May 2006 22:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977833#M419153</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-05-08T22:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: adding timestamp to filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977834#M419154</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you could put the date command at the end&lt;BR /&gt;&lt;BR /&gt;# cp -p source source.`date +%Y%d%m`&lt;BR /&gt;&lt;BR /&gt;and it will have a file source.YYYYMMDD ...&lt;BR /&gt;&lt;BR /&gt;man date for detail formatting.&lt;BR /&gt;&lt;BR /&gt;GOOD LUCK!!&lt;BR /&gt;</description>
      <pubDate>Mon, 08 May 2006 22:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977834#M419154</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2006-05-08T22:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: adding timestamp to filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977835#M419155</link>
      <description>hi Rejeev &amp;amp; Warren,&lt;BR /&gt;&lt;BR /&gt;thanks for the tip... :)&lt;BR /&gt;&lt;BR /&gt;will have a go at it...&lt;BR /&gt;&lt;BR /&gt;cheers !!</description>
      <pubDate>Mon, 08 May 2006 22:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977835#M419155</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2006-05-08T22:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: adding timestamp to filename</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977836#M419156</link>
      <description>problem solved</description>
      <pubDate>Mon, 08 May 2006 22:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-timestamp-to-filename/m-p/4977836#M419156</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2006-05-08T22:28:09Z</dc:date>
    </item>
  </channel>
</rss>

