We're working on a brand new Dropbox Wiki with better features and ease of access! Find out more.

Ruby Script To Log Client Events In Linux

From Dropbox Wiki

Jump to: navigation, search

Author: Takeru S

Description

This Ruby script monitors the Linux Dropbox client for interesting events that would usually be sent to the GUI component, and displays them in log format.

Usage Example

$ ./dropbox_status.rb

[Mon Nov 24 12:37:11 +0900 2008] /home/takeru/Dropbox/hakusai/b/c [Mon Nov 24 12:37:11 +0900 2008] /home/takeru/Dropbox/hakusai/b [Mon Nov 24 12:37:11 +0900 2008] /home/takeru/Dropbox/hakusai [Mon Nov 24 12:37:11 +0900 2008] caption c updated message The file c has been updated to the latest version. location /home/takeru/Dropbox/hakusai/b/c [Mon Nov 24 12:37:21 +0900 2008] /home/takeru/Dropbox/hakusai/d [Mon Nov 24 12:37:21 +0900 2008] /home/takeru/Dropbox/hakusai }}}

Links

Download  dl.getdropbox.com/u/76825/dropbox_status.rb

Blog