LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2009, 04:10 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
File existing


In my Redhat system , there are many files will be copy to a directory ( eg. /tmp/ora ) , then the file will be removed by a batch job regularly , so the files may be only exist for a very short time , if I want to log what file have existed in this directory , with the file information eg . creation time , size etc , is it possible to do it ? thx
 
Old 11-12-2009, 04:27 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
You should install and use the dnotify command. Type 'man dnotify' for more informations.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to append contents of one file to another existing file amit_pansuria Programming 1 11-17-2008 11:01 AM
inserting data into an existing file Magius363 Linux - Newbie 2 03-12-2008 08:10 PM
non existing symbols in .config file tkmsr Fedora 2 04-05-2007 07:11 AM
condition for file existing spx2 Programming 2 08-30-2006 03:15 PM
Create header file for existing .c file hk_michael Programming 5 02-25-2005 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration