![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to implement polling for a function using timer in C? | naan | High Level Programming | 7 | 11-19-2007 04:00 AM |
| Dummy questions about how to get the size of a directory by command | GCTEII | UNIX for Dummies Questions & Answers | 4 | 05-15-2006 08:36 AM |
| Dummy questions about how to get the size of a directory by command | GCTEII | Shell Programming and Scripting | 2 | 05-15-2006 02:39 AM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 08:42 PM |
| Help - Polling Script | brianmu | High Level Programming | 1 | 09-06-2001 10:15 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Polling/Interrogate Directory Questions
Hello, need some ideas on the control statement for a script that will watch a directory, looking for any duplicate records as they are added.
I was thinking about a process that would watch the dir in a time window. Whenever a new line or entry was made I would grep the existing file for any exact lines that match. Not sure about how to do this, maybe check on " ls | wc -l " or something similiar. Not sure about the control logic, while loop or a for statement. Any ideas would be appreciated. thanks, david |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|