The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-22-2008
ashokmeti ashokmeti is offline
Registered User
 

Join Date: Jan 2008
Location: Bangalooru
Posts: 15
Is there any way to find any changes made to a directory?

Hi groupies.

Is there any way to find any changes made to a directory?



Changes are adding a file to the directory or removing a file.



That is, I need to get the name of the file which is added or removed.





For adding,

I think one way of doing it, is by creating a script to access creation time or modification time frequently. If there are any files with timestamp grater than the “time” previously saved get the file name of it.

Will this works….?? or is there any function to trigger...??
Reply With Quote
Forum Sponsor