Le mer 19/01/2005 � 18:33, Nicolas JEUDY a �crit : > Le Mercredi 19 Janvier 2005 18:09, Jean-Bruno Luginb�hl a �crit : > > Coupl� � famd pour d�tecter les changements des fichiers, OOo > > �ventuellement sur un serveur pour mettre � jour le fichier. > > > > JBL > > ben la je suis paum� :) > > Euh ou est ce que je dois chercher ? > > En fait il faudrait que je fasse une macro qui � l'ouverture du fichier va > regard� si il y a des donn�es et qui les copies la ou je veux ?
Oui et non. Si tu es sur Linux, tu as famd. C'est un d�mon qui est inform� lors de changement de fichiers sur les disques. Il peut, � l'aide d'un fichier de configuration, ex�cuter des scripts (ou m�me OOo en mode "background" ou silent je crois) en fonctions des fichiers ou des r�pertoires qui sont modifi�s. Plus d'info sur fam (en fran�ais) ici http://www.trustonme.net/didactels/275.html et ici http://forum.hardware.fr/hardwarefr/OSAlternatifs/-Linux-Aurevoir-fam-bonjour-gamin--sujet-43966-1.htm Et la page man : fam is a server that tracks changes to the filesystem and relays these changes to interested applications. Applications such as fm(1G) and mailbox(1) present an up-to-date view of the filesystem. In the absence of fam, these applications and others like them are forced to poll the filesystem to detect changes. fam is more efficient. Applications can request fam to monitor any files or directories in any filesystem. When fam detects changes to monitored files, it notifies the appropriate application. The FAM API provides a programmatic interface to fam; see fam(3X). fam is informed of filesystem changes as they happen by the kernel through the imon(7M) pseudo device driver. If asked to monitor files on an NFS mounted filesystem, fam tries to use fam on the NFS server to monitor files. If fam cannot contact a remote fam, it polls the files instead. fam also polls special files. JBL -- Jean-Bruno Luginb�hl Tel +41 27 322 10 03 Luginb�hl & Cie SA Transports Fax +41 27 322 10 62 Rue de la Dixence 16 info_AT_luginbuhl.ch 1951 Sion www.luginbuhl.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
