<?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: deleting files by timing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499692#M846046</link>
    <description>Henry,&lt;BR /&gt;As many have mentioned in the previous posts, use -mtime qualifier with the find command to do this. &lt;BR /&gt;&lt;BR /&gt;Addtional help you could look at man find&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Mobeen</description>
    <pubDate>Tue, 08 Mar 2005 03:10:47 GMT</pubDate>
    <dc:creator>Mobeen_1</dc:creator>
    <dc:date>2005-03-08T03:10:47Z</dc:date>
    <item>
      <title>deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499688#M846042</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;  I am doing some housekeeping on my over cluddered filesystem. I was just wondering is there anyway I can delete away files by their time.. say files before "20:54:50" of the day?&lt;BR /&gt;&lt;BR /&gt;thank u..&lt;BR /&gt;Henry</description>
      <pubDate>Tue, 08 Mar 2005 01:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499688#M846042</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-03-08T01:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499689#M846043</link>
      <description>In "find" command you can specify how old should be the files you want to find (man find). You can write a simple script that calculates how old are the files (according to the momen the script being run) and then delete all the files that find outputs.&lt;BR /&gt;&lt;BR /&gt;You can read in man fo "find" command how to define the time window.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 01:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499689#M846043</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-08T01:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499690#M846044</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Here is a document if you have access to knowledgebase:&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000067131091" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000067131091&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068500492" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068500492&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;An example to remove files older than a week:&lt;BR /&gt;find /qti/archive -name :qtiarch*dbf.: -mtime +7 -exec rm {} \; -print&lt;BR /&gt;&lt;BR /&gt;Hope this help&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 02:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499690#M846044</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-03-08T02:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499691#M846045</link>
      <description>Hi Henry,&lt;BR /&gt;&lt;BR /&gt;You can use find with mtime patameter to find the files that are older than a specified time and delete them. &lt;BR /&gt;&lt;BR /&gt;Eg:- find /directory_name_path -name "arch*log" -mtime +3 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;will delete all the archive logs older than 3 days.&lt;BR /&gt;&lt;BR /&gt;You could use the -newer option as well.&lt;BR /&gt;&lt;BR /&gt;For other options have a lokk at man find.&lt;BR /&gt;&lt;BR /&gt;IA.</description>
      <pubDate>Tue, 08 Mar 2005 02:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499691#M846045</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-03-08T02:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499692#M846046</link>
      <description>Henry,&lt;BR /&gt;As many have mentioned in the previous posts, use -mtime qualifier with the find command to do this. &lt;BR /&gt;&lt;BR /&gt;Addtional help you could look at man find&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Mobeen</description>
      <pubDate>Tue, 08 Mar 2005 03:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499692#M846046</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2005-03-08T03:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499693#M846047</link>
      <description>Henry,&lt;BR /&gt;if you want to remove files before a certain time AND DATE.&lt;BR /&gt;&lt;BR /&gt;touch -t [[CC]YY]MMDDhhmm[.SS] file.mark&lt;BR /&gt;then use the find command with:&lt;BR /&gt;-newer file.mark&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2005 03:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499693#M846047</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-03-08T03:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files by timing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499694#M846048</link>
      <description>I suggest using Peter's touch command, then using &lt;BR /&gt;find . ! -newer file.mark&lt;BR /&gt;The "!" says "Not newer than"</description>
      <pubDate>Tue, 08 Mar 2005 07:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-files-by-timing/m-p/3499694#M846048</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-03-08T07:03:51Z</dc:date>
    </item>
  </channel>
</rss>

