<?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: creating files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184244#M163463</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what do you want to do with so many files, crash the file system? ;-)&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
    <pubDate>Thu, 05 Feb 2004 11:20:59 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2004-02-05T11:20:59Z</dc:date>
    <item>
      <title>creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184238#M163457</link>
      <description>What's the most efficient way to create a larger number of files. Thanks</description>
      <pubDate>Thu, 05 Feb 2004 11:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184238#M163457</guid>
      <dc:creator>Sandra R.</dc:creator>
      <dc:date>2004-02-05T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184239#M163458</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you are trying to create large number of null files, one way is&lt;BR /&gt;&lt;BR /&gt;I=1&lt;BR /&gt;LIMIT=1000&lt;BR /&gt;&lt;BR /&gt;while [ $I -le $LIMIT ]&lt;BR /&gt;do&lt;BR /&gt;touch file.${I}&lt;BR /&gt;(( I = $I + 1 ))&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;The above will create 1000 files in the current directory &lt;BR /&gt;&lt;BR /&gt;There may be another efficient way of doing it.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 05 Feb 2004 11:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184239#M163458</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-05T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184240#M163459</link>
      <description>Same thing - use a loop in a script and use touch, or the prealloc command (prealloc allows you to set the new file to any size whereas touch only creates an empty file).&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2004 11:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184240#M163459</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2004-02-05T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184241#M163460</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How about this simple one,&lt;BR /&gt;&lt;BR /&gt;# cp /stand/vmunix /tmp/test&lt;BR /&gt;# cd /tmp/test&lt;BR /&gt;# split -b 10 vmunix&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 05 Feb 2004 11:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184241#M163460</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-05T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184242#M163461</link>
      <description>Depends how many is large&lt;BR /&gt; &lt;BR /&gt;"split -l 1 &lt;FILENAME&gt;" on a 10000 line file will create 10000 one liners.&lt;BR /&gt; &lt;BR /&gt;Another option would be &lt;BR /&gt; &lt;BR /&gt;while true &lt;BR /&gt;do&lt;BR /&gt;(( a = a + 1 ))&lt;BR /&gt;&amp;gt; newfile.$a&lt;BR /&gt;done&lt;BR /&gt; &lt;BR /&gt;Will continually create files until you get bored and press ^C though it will heavily use the machine.&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 05 Feb 2004 11:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184242#M163461</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-05T11:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184243#M163462</link>
      <description>I would say some kind of loop&lt;BR /&gt;&lt;BR /&gt;while read -r ff&lt;BR /&gt;do&lt;BR /&gt;  touch $ff.tar&lt;BR /&gt;done &amp;lt; filelist&lt;BR /&gt;&lt;BR /&gt;How you generate the filelist depends on what you are trying to do.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 05 Feb 2004 11:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184243#M163462</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-05T11:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: creating files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184244#M163463</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what do you want to do with so many files, crash the file system? ;-)&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2004 11:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-files/m-p/3184244#M163463</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-05T11:20:59Z</dc:date>
    </item>
  </channel>
</rss>

