Re: Pop-up or plugin or script for folder change

2004-12-29 Thread Mario Hoerich
# Amy Dee:

[ Gkrellm2 plugin for folder changes ]
> Please notice I said folder, not file, so
> gkrellm plugins I found are only for file changes, not
> folder.

Have you tried those plugins?

Just like everything else, a directory *is* just a file.
Go ahead, use vi or most[1] to look inside! You'll see
a bunch of dirent(5) entries, one per file inside, plus
some zero-padding.

It's a pretty regular file actually (when compared to,
say, printers), the only special thing being the lack
of write access as only the kernel is allowed to write
to a directory. Which it automagically does whenever
a file within is added or removed.

So unless the plugin developer decided to allow
only regular files, you should be able to just use
it for directories as well. 

HTH,
Mario

[1]:
I think less (more is really less here) is less willing
to cooperate on directories than most.
-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Pop-up or plugin or script for folder change

2004-12-28 Thread Amy Dee
Hello,

I am trying to find a program or shell script or a
plugin for Gkrellm2 or anything that would make a
pop-up notice or a plugin notice that a folder has
changed. Please notice I said folder, not file, so
gkrellm plugins I found are only for file changes, not
folder. I want to have some sort of notice on my
desktop that a file has been added (the folder is
always empty until a file has been sent there by
several of my programs I run throughout the day and
emptied/moved when I notice it). Is it possible and is
there such a program out there?

If not, can someone help me make a simple shell
script? I would really appreciate it very much!

Thank you!



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"