<?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: Awk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078539#M74264</link>
    <description>It's not the awk but it works &lt;BR /&gt;&lt;BR /&gt;find / -name "*" -size +10000 -print&lt;BR /&gt;&lt;BR /&gt;just adapt path to your need like &lt;BR /&gt;"find /tpm/blabla" &lt;BR /&gt;&lt;BR /&gt;never had to do it any other way' will invetigate how to this in awk, if you still need it&lt;BR /&gt;&lt;BR /&gt;keep us informed of progress.&lt;BR /&gt;&lt;BR /&gt;J-P</description>
    <pubDate>Thu, 25 Sep 2003 15:04:00 GMT</pubDate>
    <dc:creator>Huc_1</dc:creator>
    <dc:date>2003-09-25T15:04:00Z</dc:date>
    <item>
      <title>Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078538#M74263</link>
      <description>How do you do a search for files in a directory that are greater then say 10000 ? Any help would be great! Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Thu, 25 Sep 2003 12:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078538#M74263</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-09-25T12:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078539#M74264</link>
      <description>It's not the awk but it works &lt;BR /&gt;&lt;BR /&gt;find / -name "*" -size +10000 -print&lt;BR /&gt;&lt;BR /&gt;just adapt path to your need like &lt;BR /&gt;"find /tpm/blabla" &lt;BR /&gt;&lt;BR /&gt;never had to do it any other way' will invetigate how to this in awk, if you still need it&lt;BR /&gt;&lt;BR /&gt;keep us informed of progress.&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Thu, 25 Sep 2003 15:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078539#M74264</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-25T15:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078540#M74265</link>
      <description>quesiton is not very clear.&lt;BR /&gt;&lt;BR /&gt;what is greater than 10000? file size&lt;BR /&gt;&lt;BR /&gt;find . -size +10000c &lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 25 Sep 2003 20:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078540#M74265</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-09-25T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078541#M74266</link>
      <description>another less straight forward way would be something like:&lt;BR /&gt;&lt;BR /&gt;du |sort -nr |more&lt;BR /&gt;&lt;BR /&gt;this will show you the size of ALL files below you current working directory starting with the largest files at the top and the smallest at the bottom.  If you want file sizes in Kbytes then add a -k to the du command&lt;BR /&gt;&lt;BR /&gt;ie. du -k | sort -rn | more &lt;BR /&gt;&lt;BR /&gt;But I would use the find command as it is a lot cooler and a better command to master in the long run.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 26 Sep 2003 11:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078541#M74266</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2003-09-26T11:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078542#M74267</link>
      <description>since you are mentionning awk, maybe it's the number of lines in an ascii file you're interested in ? check out the wc -l command (man wc).&lt;BR /&gt;&lt;BR /&gt;if it's about file size then your question has been answered already.</description>
      <pubDate>Mon, 29 Sep 2003 07:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078542#M74267</guid>
      <dc:creator>Patrick Van Humbeeck</dc:creator>
      <dc:date>2003-09-29T07:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078543#M74268</link>
      <description>If you want to save time, have a look at 'locate'.&lt;BR /&gt;First do 'updatedb' (it's done 5 mn after system boot each time, so don't do it if you didn't install sth new).&lt;BR /&gt;Then locate 'filename', it search in the database made thru updatedb, it's faster than find command...&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 29 Sep 2003 07:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078543#M74268</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-09-29T07:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078544#M74269</link>
      <description>The locate command is faster, but I don't think you can give it specific search criteria, in Kyle's case file size.  I think you would have to additionally filter locates output.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;for i in `locate *.h|grep &lt;SEARCH directory="" name=""&gt;`;do ls -s $i; done |sort -n&lt;BR /&gt;&lt;BR /&gt;something like that.&lt;BR /&gt;&lt;BR /&gt;I hope that helps,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/SEARCH&gt;</description>
      <pubDate>Mon, 29 Sep 2003 11:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078544#M74269</guid>
      <dc:creator>Dave Falloon</dc:creator>
      <dc:date>2003-09-29T11:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Awk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078545#M74270</link>
      <description>You can use this script (I regularly use on HPUX)&lt;BR /&gt;create the script then run ls -l and pipe into the script (I named it newbgfile)&lt;BR /&gt;ll | newbgfile 6&lt;BR /&gt;6 is the minum number of digit for the size.&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;if [ $# -eq 1 ]; then&lt;BR /&gt;  num=$1&lt;BR /&gt;else&lt;BR /&gt;  num=7&lt;BR /&gt;fi&lt;BR /&gt;awk -v numlen=$num '{&lt;BR /&gt;if(length($5) &amp;gt; numlen ) print $0; }'&lt;BR /&gt;&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;Rgds,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2003 08:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk/m-p/3078545#M74270</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-09-30T08:36:53Z</dc:date>
    </item>
  </channel>
</rss>

