![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Prompting for file deletion? | NycUnxer | Shell Programming and Scripting | 2 | 11-01-2007 04:36 PM |
| file deletion problem | shdwsclan | UNIX for Dummies Questions & Answers | 2 | 01-26-2006 10:59 PM |
| large file deletion | run_time_error | UNIX for Dummies Questions & Answers | 2 | 08-25-2005 06:37 AM |
| Deletion of File in Unix | rhomel101 | UNIX for Dummies Questions & Answers | 2 | 02-22-2005 01:47 AM |
| File deletion when server restarts | k_oops9 | Shell Programming and Scripting | 6 | 11-22-2004 10:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Not by default.
This, unfortunately requires polling, and the simplest way would be to monitor the modification time of the directory the files are supposed to appear in. Not a good thing to do on an NFS mounted file system, unless you had the polling process on the same machine as the NFS share and then used some form of IPC to notify clients. |
|
||||
|
At http://os.cqu.edu.au/docs/kernel-doc...on/dnotify.txt I found an example. It seems to work for detecting file creation on fedora but not cygwin.
Is using F_NOTIFY as a parameter for fnctl the most standard way of doing this? Someone else said I should be using dbus but I don't know what that is. Siegfried |
|
||||
|
Yes so cheapest thing to do is monitor that single date, then if that changes delve deeper to find what actually changed.
|
![]() |
| Bookmarks |
| Tags |
| linux, mtime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|