{"id":7845,"date":"2026-07-13T10:50:27","date_gmt":"2026-07-13T01:50:27","guid":{"rendered":"https:\/\/appbay.org\/?p=7845"},"modified":"2026-07-13T10:51:56","modified_gmt":"2026-07-13T01:51:56","slug":"obsidianexecute-code-obsidian-%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%82%b3%e3%83%94%e3%83%bc","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=7845","title":{"rendered":"Obsidian Execute Code Valut\u30d5\u30a9\u30eb\u30c0 rsync\u30b3\u30d4\u30fc"},"content":{"rendered":"<pre class=\"lang:default decode:true \">#!\/bin\/bash\r\ncat &gt; ~\/tmp.command &lt;&lt; 'EOF'\r\n\r\n#!\/bin\/bash\r\n\r\nexport PATH=\"\/opt\/homebrew\/bin:\/usr\/local\/bin:$PATH\"\r\nrsync -avh --progress --delete \"\/Users\/xxx\/Library\/CloudStorage\/Dropbox\/Obsidian\/MyVault\/\" \"\/Users\/xxx\/Library\/Mobile Documents\/iCloud~md~obsidian\/Documents\/MyVault\/\"\r\n\r\nread -n 1\r\nrm -f ~\/tmp.command\r\nosascript -e 'tell application \"Terminal\" to close (every window whose name contains \"tmp.command\")' &amp;\r\n\r\nEOF\r\nchmod +x ~\/tmp.command\r\nopen ~\/tmp.command<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!\/bin\/bash cat &gt; ~\/tmp.command &lt;&lt; &#8216;EOF&#8217; #!\/bin\/bash export PATH=&#8221;\/opt\/homebrew\/bin:\/usr\/local\/bin:$P &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=7845\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Obsidian Execute Code Valut\u30d5\u30a9\u30eb\u30c0 rsync\u30b3\u30d4\u30fc&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7845","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/7845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7845"}],"version-history":[{"count":3,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/7845\/revisions"}],"predecessor-version":[{"id":7848,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/7845\/revisions\/7848"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}