<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description># dropbox-sync.rb module Dropbox def self.exec(cmd) puts cmd `#{cmd}` end def self.sync self.exec %Q!dropbox start! loop do result = exec( %Q!dropbox status! ) p result break if result == &quot;Idle\n&quot; sleep 5 end self.exec %Q!dropbox stop! end end if $0 == __FILE__ Dropbox.sync end 他のRubyスクリプトから呼び出して使う場…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20100815%2F1281831085&quot; title=&quot; dropbox start して同期が終わったら dropbox stop するRubyスクリプト - memo486&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-15 09:11:25</published>
  <title> dropbox start して同期が終わったら dropbox stop するRubyスクリプト</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20100815/1281831085</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
