[python-users] Mac OS X FSevents Talk Follow-Up
Christopher Arndt
chris at chrisarndt.de
Do Mär 15 08:17:28 CET 2012
Demo-Skript
===========
Subversion Repository
---------------------
svn co svn://svn.chrisarndt.de/projects/dropsftp/trunk dropsftp
Aufruf
------
::
$ python dropsftp.py -c localhost.ini
wobei man vorher in ``localhost.ini`` Username, Passwort und Pfade
anpassen und natürlich Growl und einen SFTP-Server auf dem lokalen Host
laufen haben muss.
Beenden durch Control-C.
Dependencies
------------
* MacFSEvents: https://github.com/malthe/macfsevents
* ConfigObj: http://www.voidspace.org.uk/python/configobj.html
* Paramiko: http://www.lag.net/paramiko/
* Growl 1.2.2: http://growl.info/downloads
Das Demo-Skript benutzt meinen (noch nicht veröffentlichten) Fork des
MacFSEvents Package, sollte aber auch mit der originalen Version
funktionieren.
Die Growl Python Bindings kann man entweder über MacPort/homebrew
installieren oder das Growl 1.2.2 SDK herunterladen und selbst kompilieren.
Achtung: Growl 1.3 wird nicht unterstützt.
FSEvents Dokumentation
======================
Programmer's Guide
------------------
https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
(JavaScript einschalten)
API Dokumentation
-----------------
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/FSEvents_Ref/index.html
FSEvents Python Bindings
========================
MacFSEvents
-----------
https://github.com/malthe/macfsevents
File Conveyor
-------------
https://github.com/wimleers/fileconveyor
Ein Python File-Synchronisations Daemon. Benutzt Inotify unter Linux und
FSEvents unter OS X.
Mehr Informationen über die Mailingliste python-users