http://dl.getdropbox.com/u/76825/dropbox_status.rb #!/usr/bin/ruby # dropbox status in console. # http://dl.getdropbox.com/u/76825/dropbox_status.rb # http://d.hatena.ne.jp/urekat/20081124/1227498262 # http://forums.getdropbox.com/tags.php?tag=cli require "socket" require "pathname" #command_sock_path = File.expand_path("~/.dropbox/command_socket") iface_sock_path = File.expand_path("~/.dropbox/if