<?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 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943197#M4103</link>
    <description>Hi&lt;BR /&gt;i don't know. Yesterday that find statement didn't work, today yes. And i'm quite sure that there were files one day old.&lt;BR /&gt;However now it's ok. Thanks for your help.&lt;BR /&gt;Tarek</description>
    <pubDate>Fri, 04 Apr 2003 08:12:44 GMT</pubDate>
    <dc:creator>Tarek_1</dc:creator>
    <dc:date>2003-04-04T08:12:44Z</dc:date>
    <item>
      <title>find</title>
      <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943193#M4099</link>
      <description>Hi&lt;BR /&gt;i want to delete from a directory all files of two day before. The issue is that files does not contain the date inside the name, so how to find which files to del?&lt;BR /&gt;I tried with &lt;BR /&gt;find . -atime +1 (to see files of yesterday) but this doesn't work.&lt;BR /&gt;Any tip?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 03 Apr 2003 16:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943193#M4099</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2003-04-03T16:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: find</title>
      <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943194#M4100</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;Try something like this :&lt;BR /&gt;&lt;BR /&gt;find ~ -daystart -type f -mtime -2&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Goran</description>
      <pubDate>Thu, 03 Apr 2003 17:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943194#M4100</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-03T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: find</title>
      <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943195#M4101</link>
      <description>Why doesn't the find command work?&lt;BR /&gt;&lt;BR /&gt;can you paste out the output if it is short, or attach the output file if it is quite long?&lt;BR /&gt;&lt;BR /&gt;- ramd.</description>
      <pubDate>Thu, 03 Apr 2003 17:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943195#M4101</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-03T17:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: find</title>
      <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943196#M4102</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I used the 'touch' command with the date option to create several files with dates from the last few days, and then I used the find command with -atime to get files accessed from two days or older.  Here is what I got:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ls -l                               &lt;BR /&gt;total 4                                                       &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Mar 29 00:00 file1 &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Mar 30 00:00 file2 &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Mar 31 00:00 file3 &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Apr  1 00:00 file4 &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Apr  2 00:00 file5 &lt;BR /&gt;-rw-r--r--    1 jpoff    users           0 Apr  3 00:00 file6 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ find . -atime +2 &lt;BR /&gt;/file1                                    &lt;BR /&gt;/file2                                    &lt;BR /&gt;/file3                                    &lt;BR /&gt;&lt;BR /&gt;$ find . -atime +1 &lt;BR /&gt;/file1                                    &lt;BR /&gt;/file2                                    &lt;BR /&gt;/file3                                    &lt;BR /&gt;/file4                                    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If that works for you, you should be able to do something like this to remove them:&lt;BR /&gt;&lt;BR /&gt;find . -atime +2 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2003 19:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943196#M4102</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-04-03T19:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: find</title>
      <link>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943197#M4103</link>
      <description>Hi&lt;BR /&gt;i don't know. Yesterday that find statement didn't work, today yes. And i'm quite sure that there were files one day old.&lt;BR /&gt;However now it's ok. Thanks for your help.&lt;BR /&gt;Tarek</description>
      <pubDate>Fri, 04 Apr 2003 08:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/find/m-p/2943197#M4103</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2003-04-04T08:12:44Z</dc:date>
    </item>
  </channel>
</rss>

