-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Neil Smith wrote: > - Is there a command (native, shell, or ports collection) to sit and watch > for new file creation in a directory? > - I'd like to build a system startup script for such a command and its > scripted actions. Sound possible? > - Is there already something in the default OS that does something similar? > > > Thanks, > -Neil > --- > Neil Smith ne...@tamu.edu > Comp. Sys. Mngr., Atmospheric Sciences
Hi Neil, I haven't used it yet, but gamin should do the trick: http://www.freshports.org/devel/gamin/ I don't see why you couldn't wrap it with a startup script so a list of monitored files/directories could be added to /etc/rc.conf. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMSf770sRouByUApARAkOAAJwIGJt4trCutsSGCugzGjB93yZx8ACgjdOe o1tEuLiA8wanazn9MlsS3DE= =n83K -----END PGP SIGNATURE----- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"