<?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 Re: Crating file with date in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922276#M815593</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can just simply invoke this command when creating a new file using the filename format you prefer&lt;BR /&gt;&lt;BR /&gt;$ cat &amp;gt; date +%Y%m%d.txt -- if this doesn't the other way around is to set an variable in your env. by simply invoking&lt;BR /&gt;&lt;BR /&gt;$ export &lt;ANY preferred="" variable=""&gt;=`date +%Y%m%d`&lt;BR /&gt;$ cat &amp;gt; $&lt;DECLARED variable="" above=""&gt;.txt&lt;BR /&gt;&lt;BR /&gt;hope this can help..&lt;/DECLARED&gt;&lt;/ANY&gt;</description>
    <pubDate>Wed, 31 Aug 2005 21:38:48 GMT</pubDate>
    <dc:creator>Joaquin_13</dc:creator>
    <dc:date>2005-08-31T21:38:48Z</dc:date>
    <item>
      <title>Crating file with date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922272#M815589</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;   How to create a file with todays dat as a name of it.&lt;BR /&gt;&lt;BR /&gt;20050531.txt&lt;BR /&gt;&lt;BR /&gt;I have searched in the forum but i have not answer for this.</description>
      <pubDate>Wed, 31 Aug 2005 01:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922272#M815589</guid>
      <dc:creator>jayachandran.g</dc:creator>
      <dc:date>2005-08-31T01:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Crating file with date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922273#M815590</link>
      <description>hi,&lt;BR /&gt;Look at the man page for date.&lt;BR /&gt;ex:&lt;BR /&gt;file=$(date +%Y%m%d)&lt;BR /&gt;&amp;gt;$file&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 01:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922273#M815590</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-08-31T01:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Crating file with date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922274#M815591</link>
      <description>Hi Leif&lt;BR /&gt;&lt;BR /&gt;   i was not noticed that +. sorry</description>
      <pubDate>Wed, 31 Aug 2005 01:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922274#M815591</guid>
      <dc:creator>jayachandran.g</dc:creator>
      <dc:date>2005-08-31T01:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Crating file with date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922275#M815592</link>
      <description>&lt;BR /&gt;use like this:&lt;BR /&gt;&lt;BR /&gt;file_name="`date +%Y%m%d`.txt"&lt;BR /&gt;&lt;BR /&gt;## now do what you want in $file_name&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 01:30:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922275#M815592</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-31T01:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Crating file with date</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922276#M815593</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can just simply invoke this command when creating a new file using the filename format you prefer&lt;BR /&gt;&lt;BR /&gt;$ cat &amp;gt; date +%Y%m%d.txt -- if this doesn't the other way around is to set an variable in your env. by simply invoking&lt;BR /&gt;&lt;BR /&gt;$ export &lt;ANY preferred="" variable=""&gt;=`date +%Y%m%d`&lt;BR /&gt;$ cat &amp;gt; $&lt;DECLARED variable="" above=""&gt;.txt&lt;BR /&gt;&lt;BR /&gt;hope this can help..&lt;/DECLARED&gt;&lt;/ANY&gt;</description>
      <pubDate>Wed, 31 Aug 2005 21:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crating-file-with-date/m-p/4922276#M815593</guid>
      <dc:creator>Joaquin_13</dc:creator>
      <dc:date>2005-08-31T21:38:48Z</dc:date>
    </item>
  </channel>
</rss>

