<?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: Catch automatically new files in a particular folder in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387703#M35787</link>
    <description>The first I can think is a versioning file system:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Versioning_file_system" target="_blank"&gt;http://en.wikipedia.org/wiki/Versioning_file_system&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Another very more complex option is to enable auditing. After an event for that file is detected, use swatch to trigger an action.&lt;BR /&gt;&lt;BR /&gt;But remember, keep it simple and it will work.</description>
    <pubDate>Wed, 25 Mar 2009 13:05:25 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2009-03-25T13:05:25Z</dc:date>
    <item>
      <title>Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387702#M35786</link>
      <description>Hi Guys&lt;BR /&gt;&lt;BR /&gt;I've another small affair.&lt;BR /&gt;How to catch any new core file in my folder /wrk/files ?&lt;BR /&gt;&lt;BR /&gt;I'd like to trigger actions when core file is coming. Of course I can do this we a crontab and check if a new file is arrived from the last check  but the problem is that in a minute many core will arrived and the risk is to missed some files ! The last core file is always overwriten and I want to have all files. So I need first to rename the file... &lt;BR /&gt;&lt;BR /&gt;Any Idea ?&lt;BR /&gt;&lt;BR /&gt;Bests Regards&lt;BR /&gt;Den</description>
      <pubDate>Wed, 25 Mar 2009 12:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387702#M35786</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2009-03-25T12:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387703#M35787</link>
      <description>The first I can think is a versioning file system:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Versioning_file_system" target="_blank"&gt;http://en.wikipedia.org/wiki/Versioning_file_system&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Another very more complex option is to enable auditing. After an event for that file is detected, use swatch to trigger an action.&lt;BR /&gt;&lt;BR /&gt;But remember, keep it simple and it will work.</description>
      <pubDate>Wed, 25 Mar 2009 13:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387703#M35787</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-03-25T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387704#M35788</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I never use for this task but maybe you could implement rsync daemon with some configuration tasks like backup for renaming your core file.</description>
      <pubDate>Wed, 25 Mar 2009 15:51:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387704#M35788</guid>
      <dc:creator>smatador</dc:creator>
      <dc:date>2009-03-25T15:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387705#M35789</link>
      <description>Hi Leo,&lt;BR /&gt;&lt;BR /&gt;You could have a look at incron, which is a kind of cron but based on file system event and not time event.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://inotify.aiken.cz/?section=incron&amp;amp;page=about" target="_blank"&gt;http://inotify.aiken.cz/?section=incron&amp;amp;page=about&lt;/A&gt;〈=en&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Thierry</description>
      <pubDate>Thu, 26 Mar 2009 09:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387705#M35789</guid>
      <dc:creator>Thierry D</dc:creator>
      <dc:date>2009-03-26T09:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387706#M35790</link>
      <description>&amp;gt;How to catch any new core file in my folder /wrk/files?&lt;BR /&gt;&lt;BR /&gt;Shouldn't you be trying to find why you have so many?&lt;BR /&gt;If linux had coreadm, you could have them moved elsewhere and with unique names.</description>
      <pubDate>Sat, 28 Mar 2009 01:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387706#M35790</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-28T01:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387707#M35791</link>
      <description>you can use dnotify/inotify theese function allow you to monitor changes to your filesystem.&lt;BR /&gt;&lt;BR /&gt;Not sure if a pre-written tool is available for which alllows you to directly specify directory names to monitor on command line. &lt;BR /&gt;&lt;BR /&gt;You may have to write C program using these APIs&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Sri</description>
      <pubDate>Sat, 28 Mar 2009 04:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387707#M35791</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2009-03-28T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387708#M35792</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;not really an answer to your question, but I agree with Dennis: solve the problem or have it solved. &lt;BR /&gt;&lt;BR /&gt;Why is it so important not to miss a single core file? &lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Sat, 28 Mar 2009 08:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387708#M35792</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2009-03-28T08:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387709#M35793</link>
      <description>you can set 1 in /proc/sys/kernel/core_uses_pid so that every core file is appended with the pid of the dumping process.</description>
      <pubDate>Sat, 28 Mar 2009 08:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387709#M35793</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2009-03-28T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Catch automatically new files in a particular folder</title>
      <link>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387710#M35794</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;that's a nice, easy solution of Srikrishan.&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Sun, 29 Mar 2009 08:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/catch-automatically-new-files-in-a-particular-folder/m-p/4387710#M35794</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2009-03-29T08:45:06Z</dc:date>
    </item>
  </channel>
</rss>

