<?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: Find command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847575#M394584</link>
    <description>Solution is in thread.</description>
    <pubDate>Wed, 05 Jan 2005 10:10:03 GMT</pubDate>
    <dc:creator>Jeffrey W. Stewart</dc:creator>
    <dc:date>2005-01-05T10:10:03Z</dc:date>
    <item>
      <title>Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847566#M394575</link>
      <description>If I use find . -mtime -5, can I then display the date and time for the files found?  I tried&lt;BR /&gt;&lt;BR /&gt;find . -mtime -5 | ll&lt;BR /&gt;find . -mtime -5 -exec ll {} \;&lt;BR /&gt;find . -mtime -5 | xargs ll&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Feb 2003 15:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847566#M394575</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2003-02-10T15:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847567#M394576</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I got it to work this way:&lt;BR /&gt;&lt;BR /&gt;find . -mtime 5 | xargs ls -ld&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Feb 2003 15:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847567#M394576</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-02-10T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847568#M394577</link>
      <description>Answer- Yes.&lt;BR /&gt;&lt;BR /&gt;Your second example should work, but you may want to put "-d" option on "ll" so that directories don't list content.&lt;BR /&gt;&lt;BR /&gt;find . -mtime -5 -exec ll -d {} \;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 10 Feb 2003 15:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847568#M394577</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2003-02-10T15:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847569#M394578</link>
      <description>Hi Jeffrey:&lt;BR /&gt;&lt;BR /&gt;If it's *files* you want, let 'find' filter that:&lt;BR /&gt;&lt;BR /&gt;# find . -type f -mtime -5 -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;...or less resource intensive because 'exec' spawns a new process for each file found:&lt;BR /&gt;&lt;BR /&gt;# find . -type f -mtime -5|xargs ls -l&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 10 Feb 2003 15:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847569#M394578</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-10T15:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847570#M394579</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;last option using ll -d instead 0f ll&lt;BR /&gt;&lt;BR /&gt;find . -mtime -5 | xargs ll -d&lt;BR /&gt;&lt;BR /&gt;Works fine&lt;BR /&gt;&lt;BR /&gt;find . -mtime -5 |while read $line&lt;BR /&gt;do&lt;BR /&gt;ll $line|cut -c45-128&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Is alternative&lt;BR /&gt;&lt;BR /&gt;Play with it&lt;BR /&gt;&lt;BR /&gt;                 Steve Steel</description>
      <pubDate>Mon, 10 Feb 2003 15:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847570#M394579</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-02-10T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847571#M394580</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is better to use the -type f option ( Regular Files ):&lt;BR /&gt;&lt;BR /&gt;find . -type f -mtime -5 -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ricardo Bassoi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Feb 2003 15:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847571#M394580</guid>
      <dc:creator>Ricardo Bassoi</dc:creator>
      <dc:date>2003-02-10T15:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847572#M394581</link>
      <description>if&lt;BR /&gt;find . -mtime -5 -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;isnt working&lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;find . -print -mtime -5 -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;otherwise you have very good advice from everyone else above&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Feb 2003 15:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847572#M394581</guid>
      <dc:creator>James Odak</dc:creator>
      <dc:date>2003-02-10T15:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847573#M394582</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how about ll -ld `find . -mtime -5 -print` ?</description>
      <pubDate>Mon, 10 Feb 2003 21:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847573#M394582</guid>
      <dc:creator>Gary Yu</dc:creator>
      <dc:date>2003-02-10T21:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847574#M394583</link>
      <description>Thanks for everyone's help. The key was "files" and that really helped me with what I was trying to do.</description>
      <pubDate>Tue, 11 Feb 2003 12:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847574#M394583</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2003-02-11T12:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847575#M394584</link>
      <description>Solution is in thread.</description>
      <pubDate>Wed, 05 Jan 2005 10:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4847575#M394584</guid>
      <dc:creator>Jeffrey W. Stewart</dc:creator>
      <dc:date>2005-01-05T10:10:03Z</dc:date>
    </item>
  </channel>
</rss>

