English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If a file were added to a directory how could I find out in Real Time in unix?

2007-02-01 06:31:26 · 1 answers · asked by goodmis 1 in Computers & Internet Programming & Design

1 answers

It depends on the file-system in use (ext2, reiser, etc).

See source for more info.

In windows programming, C# has a directory-watcher object that will tell you when a file is added.. maybe there's a linux equivalent? Or maybe you could use Mono (.Net for Linux), you may be able to use the FileWatcher class.

2007-02-01 08:08:48 · answer #1 · answered by fixedinseattle 4 · 0 0

fedest.com, questions and answers