09-28-2001
auto update on directory change
Hi all!
Recently I've started to develop a small program that needs to
check for the arrival of files in a pre-determined directory.
I could use a timer to check for changes in this directory every n seconds.
Instead, what I'm really looking for is for some kind of notification mechanism from the OS. I want the application to register for notifications from the OS for any changes in the directory the application is "listening" for.
Any ideas how I could implement this?
Thanks in advance, regards,
Bruno
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Is it possible to make a file manager use different "colored folders" when browsing specific directories?
For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green?
And when I open another instance of... (0 Replies)
Discussion started by: bz43
0 Replies
2. Web Development
is there any way to auto update html page.
I created html page entry.html, whenever i change in html script i need to refresh my page.
If not in html, can we do this in any other language and how? (2 Replies)
Discussion started by: RohitKJ
2 Replies
3. UNIX for Dummies Questions & Answers
Hi there,
I've been looking all day, but could not find anything helpfull, so I hope you can help me.
When my system now starts up, the Xwindow is automaticly started and i get the log on screen (which is x screen 7 if I'm correct)
Now what I would like is on startup that instead of going to... (1 Reply)
Discussion started by: Wonderke
1 Replies
4. Windows & DOS: Issues & Discussions
I want to allow windows update when ordinary users are logged on, I'm pretty sure that adjusting the permissions registry entry HEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/WindowsUpdate to allow acces to all domins users does the trick.
I already have a logon.bat that runs at... (0 Replies)
Discussion started by: barrydocks
0 Replies
5. UNIX for Advanced & Expert Users
Hello - Is this possible on Unix machines? Can we update user password change time? (6 Replies)
Discussion started by: manju--
6 Replies
6. UNIX for Dummies Questions & Answers
We have a version for every file like RHZ 1.0 / Ver 1.4.2 etc.
Whenever I place a new file with same file name i want the version to get auto upgraded. So can anyone suggest code..
Eg:
RHX 1.0 -> RHZ 1.1
Ver 1.4.2. -> Ver 1.4.3 (1 Reply)
Discussion started by: krishna87
1 Replies
7. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
8. Shell Programming and Scripting
Hi,
I am newbie to Linux/Asterisk. I am trying to write a shell script that would look for my SIP trunk registration, if found UNREACHABLE then it would execute a command and check my local IP, if my local IP is 192.168.1.106 then it would change the IP to 192.168.1.150 and vice versa, after... (8 Replies)
Discussion started by: jeetz
8 Replies
LEARN ABOUT PLAN9
dh_installmanpages
DH_INSTALLMANPAGES(1) Debhelper DH_INSTALLMANPAGES(1)
NAME
dh_installmanpages - old-style man page installer (deprecated)
SYNOPSIS
dh_installmanpages [debhelperoptions] [file...]
DESCRIPTION
dh_installmanpages is a debhelper program that is responsible for automatically installing man pages into usr/share/man/ in package build
directories.
This is a DWIM-style program, with an interface unlike the rest of debhelper. It is deprecated, and you are encouraged to use
dh_installman(1) instead.
dh_installmanpages scans the current directory and all subdirectories for filenames that look like man pages. (Note that only real files
are looked at; symlinks are ignored.) It uses file(1) to verify that the files are in the correct format. Then, based on the files'
extensions, it installs them into the correct man directory.
All filenames specified as parameters will be skipped by dh_installmanpages. This is useful if by default it installs some man pages that
you do not want to be installed.
After the man page installation step, dh_installmanpages will check to see if any of the man pages are .so links. If so, it changes them to
symlinks.
OPTIONS
file ...
Do not install these files as man pages, even if they look like valid man pages.
BUGS
dh_installmanpages will install the man pages it finds into all packages you tell it to act on, since it can't tell what package the man
pages belong in. This is almost never what you really want (use -p to work around this, or use the much better dh_installman(1) program
instead).
Files ending in .man will be ignored.
Files specified as parameters that contain spaces in their filenames will not be processed properly.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLMANPAGES(1)