{"id":139,"date":"2023-12-06T11:31:07","date_gmt":"2023-12-06T02:31:07","guid":{"rendered":"https:\/\/txn.myds.me\/blog\/?p=139"},"modified":"2023-12-06T11:31:07","modified_gmt":"2023-12-06T02:31:07","slug":"android-%e7%ab%af%e6%9c%ab%e3%81%a8-rsync-%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.txn.red\/?p=139","title":{"rendered":"Android \u7aef\u672b\u3068 rsync \u3059\u308b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">android \u7aef\u672b\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f adb pull \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u53d6\u308c\u307e\u3059\u304c\u3001\u6bce\u56de\u5168\u30b3\u30d4\u30fc\u3059\u308b\u306e\u306f\u3061\u3087\u3063\u3068\u3044\u3084\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">linux \u7cfb\u306a\u3089 rsync \u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u307e\u3059\u304c android \u7aef\u672b\u306b\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u305d\u3082\u305d\u3082 rsync \u306f\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3084 sshfs \u4f4d\u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306f\u305a\u3067 adb \u7d4c\u7531\u3067\u306f\u4f7f\u3048\u306a\u305d\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">github \u306b Better ADB Sync \u3068\u3044\u3046\u306e\u304c\u3042\u308a\u8a66\u3057\u3066\u307f\u308b<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"%25e3%2582%25a4%25e3%2583%25b3%25e3%2582%25b9%25e3%2583%2588%25e3%2583%25bc%25e3%2583%25ab\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u500b\u4eba\u7684\u306b pipenv \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067 pipenv \u30d9\u30fc\u30b9\u3067\u3002readme \u3067\u306f pip \u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ pipenv shell\n$ pipenv install BetterADBSync<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"%25e5%25ae%259f%25e8%25a1%258c\">\u5b9f\u884c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u307b\u307c adb push \/ pull \u3068\u540c\u3058\u611f\u3058\u306a\u306e\u3067\u3059\u3050\u306b\u30a4\u30e1\u30fc\u30b8\u306f\u3064\u304b\u3081\u308b\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code># \u30a2\u30f3\u30c9\u30ed\u30a4\u30c9 \u304b\u3089 PC \u3078\u540c\u671f\n$ pipenv run adbsync pull \/sdcard .\/sd\n\n# PC \u304b\u3089 \u30a2\u30f3\u30c9\u30ed\u30a4\u30c9 \u3078\u540c\u671f\n$ pippenv run adbsync push .\/sd \/sdcard<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u3001\u30d1\u30b9\u3092\u901a\u305b\u3070 pipenv run \u306e\u90e8\u5206\u306f\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"%25e5%258f%2582%25e8%2580%2583\">\u53c2\u8003<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/jb2170\/better-adb-sync\" target=\"_blank\" rel=\"noreferrer noopener\">jb2170\/better-adb-sync: Completely rewritten adbsync with &#8211;exclude<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>android \u7aef\u672b\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f adb pull \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u53d6\u308c\u307e\u3059\u304c\u3001\u6bce\u56de\u5168\u30b3\u30d4\u30fc\u3059\u308b\u306e\u306f\u3061\u3087\u3063\u3068\u3044\u3084\u3067\u3059\u3002 linux \u7cfb\u306a\u3089 rsync \u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u307e\u3059\u304c android \u7aef\u672b\u306b\u306f\u5165\u3063\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2,"footnotes":""},"categories":[5],"tags":[4],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-it","tag-android"],"_links":{"self":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=139"}],"version-history":[{"count":0,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/139\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}