<?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: ll and obtaining date and timestamps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105389#M689270</link>
    <description>.</description>
    <pubDate>Thu, 24 Apr 2008 17:13:59 GMT</pubDate>
    <dc:creator>KPS</dc:creator>
    <dc:date>2008-04-24T17:13:59Z</dc:date>
    <item>
      <title>ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105385#M689266</link>
      <description>I'm trying to figure out if there is a certain switch that I can use with ll to be able to see the date and timestamp of files that are older than 1 year?   As far as I see, ll only shows me the date and year for files older than a year.   Any files older than less than a year are listed with date and time.   I just had a look through the man page and I'm not seeing any specific switches that I can use to get this specific view in the listing that I'm looking for. &lt;BR /&gt;&lt;BR /&gt;Again what I'm trying to do is use ll to show tme date and time of files older than a year.&lt;BR /&gt;Any help would be greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;KPS</description>
      <pubDate>Thu, 24 Apr 2008 16:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105385#M689266</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2008-04-24T16:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105386#M689267</link>
      <description>Hi KPS:&lt;BR /&gt;&lt;BR /&gt;This is the normal behavior of 'ls'.  However, using a small Perl snippet:&lt;BR /&gt;&lt;BR /&gt;# perl -MPOSIX -le '@ARGV=glob("*") unless @ARGV;for (@ARGV) {print join " ",strftime("%m/%d/%Y %H:%M",localtime((stat $_)[9])),$_}'&lt;BR /&gt;&lt;BR /&gt;Simply 'cd' to the directory you want to examine, or run the above with an argument like:&lt;BR /&gt;&lt;BR /&gt;/etc/*&lt;BR /&gt;&lt;BR /&gt;This isn't recursinve, but acts like a simple 'ls -l'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Apr 2008 16:52:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105386#M689267</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-24T16:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105387#M689268</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;If you want a recursive list (as with 'find'), this is quick:&lt;BR /&gt;&lt;BR /&gt;# perl -MPOSIX -MFile::Find -le '@ARGV=(".") unless @ARGV;find(sub{print join " ",strftime("%m/%d/%Y %H:%M",localtime((stat $_)[9])),$File::Find::name},@ARGV)' /path&lt;BR /&gt;&lt;BR /&gt;...either pass the '/path' you want to examine as the argument, or omit it and your current directory will be examined.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Apr 2008 17:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105387#M689268</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-24T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105388#M689269</link>
      <description>Thanks James, if this is normal behavior and no workaround to it within ll, then I think that's the answer I was after.  I appreciate the workaround, but I was trying to keep it within the ll or ls -l command.&lt;BR /&gt;&lt;BR /&gt;I appreciate your help....&lt;BR /&gt;&lt;BR /&gt;/KPS</description>
      <pubDate>Thu, 24 Apr 2008 17:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105388#M689269</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2008-04-24T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105389#M689270</link>
      <description>.</description>
      <pubDate>Thu, 24 Apr 2008 17:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105389#M689270</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2008-04-24T17:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105390#M689271</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Very well, then see (also) my post from the other day with an 'ls' kludge I once found (somewhere) in the ITRC:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1225117" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1225117&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Apr 2008 17:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105390#M689271</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-24T17:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: ll and obtaining date and timestamps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105391#M689272</link>
      <description>This is a simple trick for this situation:&lt;BR /&gt;&lt;BR /&gt;# ll | awk 'match(length($8),4)'</description>
      <pubDate>Sat, 26 Apr 2008 02:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ll-and-obtaining-date-and-timestamps/m-p/5105391#M689272</guid>
      <dc:creator>CharlesC</dc:creator>
      <dc:date>2008-04-26T02:55:33Z</dc:date>
    </item>
  </channel>
</rss>

