{"id":372,"date":"2012-03-08T19:31:28","date_gmt":"2012-03-08T10:31:28","guid":{"rendered":"http:\/\/drumsoft.com\/blog\/?p=372"},"modified":"2012-06-07T12:04:23","modified_gmt":"2012-06-07T03:04:23","slug":"macbook-%e3%82%92%e6%8c%81%e3%81%a3%e3%81%a6%e8%a1%8c%e3%81%8f%e6%99%82%e3%80%81%e5%b8%b0%e3%81%a3%e3%81%a6%e3%81%8d%e3%81%9f%e6%99%82%e3%81%ab%e3%82%84%e3%82%8b%e4%ba%8b%e3%81%8c%e5%a4%9a%e3%81%84","status":"publish","type":"post","link":"https:\/\/drumsoft.com\/blog\/archives\/372","title":{"rendered":"Macbook \u3092\u6301\u3063\u3066\u884c\u304f\u6642\u3001\u5e30\u3063\u3066\u304d\u305f\u6642\u306b\u3084\u308b\u4e8b\u304c\u591a\u3044\u306e\u3067\u30011\u767a\u3067\u3067\u304d\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u307e\u3068\u3081\u308b"},"content":{"rendered":"<p>Macbook (Air) \u3092\u5916\u306b\u6301\u3063\u3066\u884c\u304f\u4e8b\u304c\u3061\u3087\u304f\u3061\u3087\u304f\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u969b\u306b\u3084\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u4e8b\u3001\u3084\u3063\u305f\u65b9\u304c\u3044\u3044\u4e8b\u304c\u308f\u308a\u3068\u591a\u304b\u3063\u305f\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u307e\u3068\u3081\u3066\u3067\u304d\u308b\u69d8\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u3084\u308a\u305f\u3044\u4e8b\u3068\u3001\u305d\u306e\u305f\u3081\u306b\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u89e3\u8aac\u3057\u3066\u3001\u6700\u5f8c\u306b\u305d\u308c\u3089\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u307e\u3068\u3081\u3066\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u308b\u69d8\u306b\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u4eca\u56de\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u6163\u308c\u3066\u306a\u3044\u4eba\u3082\u305d\u308c\u306a\u308a\u306b\u308f\u304b\u308a\u305d\u3046\u306a\u611f\u3058\u3067\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h3>Macbook \u3092\u5916\u306b\u6301\u3063\u3066\u884c\u304f\u6642\u306b\u3084\u308b\u4e8b<\/h3>\n<p>\u3084\u308b\u4e8b\u3068\u3001\u305d\u306e\u305f\u3081\u306b\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<dl>\n<dt>Dropbox, Bitcasa \u3092\u7d42\u4e86\u3055\u305b\u308b<\/p>\n<dd>\u3069\u3046\u305b\u30cd\u30c3\u30c8\u63a5\u7d9a\u304c\u5207\u308c\u308b\u306e\u3067\u7d42\u4e86\u3055\u305b\u307e\u3059\u3002\u591a\u5206\u96fb\u6c60\u306e\u7bc0\u7d04\u306b\u306a\u308a\u307e\u3059\u3002AppleScript\u3092\u4f7f\u3063\u3066\u7d42\u4e86\u3055\u305b\u307e\u3059\u3002\u4ed6\u306b\u7d42\u4e86\u3055\u305b\u305f\u3044\u7269\u304c\u3042\u308b\u4eba\u306f\u540c\u69d8\u306b\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>osascript -e 'tell application \"Dropbox\" to quit'\r\nosascript -e 'tell application \"Bitcasa\" to quit'<\/pre>\n<dt>\u5916\u4ed8\u3051HDD\u3092\u5207\u308a\u96e2\u3059\uff08\u5fc5\u9808\uff09<\/p>\n<dd>\u3044\u304d\u306a\u308aUSB\u30cf\u30d6\u3092\u629c\u304f\u3068\u6012\u3089\u308c\u308b\u306e\u3067\u3001diskutil\u30b3\u30de\u30f3\u30c9\u3067\u5207\u308a\u96e2\u3057\u307e\u3059\u3002\u8907\u6570\u4ee3\u7e4b\u3044\u3067\u3044\u308b\u5834\u5408\u3001\u53f0\u6570\u5206\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>diskutil unmount \"\u5916\u4ed8\u3051HDD\u306e\u540d\u524d\"<\/pre>\n<dt>AirMac = \u7121\u7ddaLAN \u3092\u30aa\u30d5\u306b\u3059\u308b<\/p>\n<dd>\u96fb\u6c60\u3092\u7bc0\u7d04\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>networksetup -setairportpower en0 off<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u5185\u306e &#8216;en0&#8217; \u3068\u3044\u3046\u90e8\u5206\u306f AirMac \u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u540d\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3067 <tt>networksetup -listallhardwareports<\/tt> \u3092\u5b9f\u884c\u3059\u308b\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c7\u30d0\u30a4\u30b9\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001 &#8216;Hardware Port: Wi-Fi&#8217; \u7b49\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u9805\u76ee\u306e &#8216;Device:&#8217; \u6b04\u306b\u8868\u793a\u3055\u308c\u308b\u30c7\u30d0\u30a4\u30b9\u540d\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<dt>Bluetooth \u3092\u30aa\u30d5\u306b\u3059\u308b<\/p>\n<dd>\u96fb\u6c60\u3092\u7bc0\u7d04\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u3084\u308b\u305f\u3081\u306b\u3001\u4e8b\u524d\u306b <a href=\"http:\/\/www.frederikseiffert.de\/blueutil\/\">blueutil<\/a> \u3068\u3044\u3046\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>blueutil off<\/pre>\n<\/dl>\n<p>\n\u203b\u307e\u305f \u7121\u7ddaLAN(AirMac) \u3084 Bluetoth \u3092\u30aa\u30f3\u306b\u3057\u305f\u307e\u307e\u5916\u51fa\u3059\u308b\u3068\u3001\u5916\u51fa\u5148\u3067\u30d1\u30bd\u30b3\u30f3\u3092\u958b\u3044\u305f\u969b\u306b\u3001 MAC\u30a2\u30c9\u30ec\u30b9, \u81ea\u5b85\u7121\u7ddaLAN\u306eSSID, Bluetooth\u30c7\u30d0\u30a4\u30b9\u540d \u7b49\u304c\u7121\u7dda\u3067\u767a\u4fe1\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3092\u8ab0\u304b\u304c\u8a18\u9332\u3057\u3066\u300c\u52dd\u624b\u306b\u4ed6\u4eba\u306e\u884c\u52d5\u5c65\u6b74\u3092\u4f5c\u308b\u300d\u4e8b\u3082\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3092\u6c17\u306b\u3059\u308b\u65b9\u306f\u3001\u4e0d\u8981\u306a \u7121\u7ddaLAN, Bluetooth \u306f\u30aa\u30d5\u306b\u3057\u307e\u3057\u3087\u3046\u3002\uff08Bluetooth\u306b\u95a2\u3057\u3066\u306f <a href=\"http:\/\/takagi-hiromitsu.jp\/diary\/20090301.html#p02\">\u65b0\u3057\u3044\u6a5f\u5668\u306e\u30da\u30a2\u30ea\u30f3\u30b0\u6642\u3092\u9664\u304d\u300c\u691c\u51fa\u53ef\u80fd\u306b\u3059\u308b\u300d\u3092\u30aa\u30d5\u306b\u8a2d\u5b9a\u3059\u308b\u5bfe\u7b56<\/a> \u3082\u6709\u52b9\u306a\u69d8\u3067\u3059\uff09\n<\/p>\n<h3>Macbook \u3092\u81ea\u5b85\u306b\u6301\u3061\u5e30\u3063\u305f\u3089\u3084\u308b\u4e8b<\/h3>\n<p>\u4e0a\u8a18\u306e\u9006\u3092\u884c\u3044\u307e\u3059\u3002Dropbox\u306e\u8d77\u52d5\u6642\u306b\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u7e4b\u304c\u3063\u3066\u3044\u305f\u65b9\u304c\u3088\u3044\u2026\u306a\u3069\u3042\u308b\u306e\u3067\u3001\u9806\u756a\u3082\u9006\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<dl>\n<dt>Bluetooth \u3092\u30aa\u30f3\u306b\u3059\u308b<\/p>\n<dd>\n<pre>blueutil on<\/pre>\n<p>\tBluetooth\u30c7\u30d0\u30a4\u30b9\u3092\u666e\u6bb5\u4f7f\u3063\u3066\u306a\u3044\u65b9\u306f\u5e38\u6642\u30aa\u30d5\u3067\u3044\u3044\u3067\u3059\u3002<\/p>\n<dt>AirMac = \u7121\u7ddaLAN \u3092\u30aa\u30f3\u306b\u3059\u308b<\/p>\n<dd>\n<pre>networksetup -setairportpower en0 on<\/pre>\n<p>\ten0 \u306e\u90e8\u5206\u306f\u5148\u307b\u3069\u8aac\u660e\u3057\u305f\u901a\u308a\u3067\u3059\u3002<\/p>\n<dt>\u5916\u4ed8\u3051HDD\u3092\u63a5\u7d9a\u3059\u308b<\/p>\n<dd>\u666e\u901a\u306fUSB\u63a5\u7d9a\u3059\u308c\u3070\u52dd\u624b\u306b\u63a5\u7d9a\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u308c\u306f\u4e0d\u8981\u306a\u306e\u3067\u3059\u304c\u3001\u306a\u3093\u3068\u306a\u304f\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre>diskutil mount \"\u5916\u4ed8\u3051HDD\u306e\u540d\u524d\"<\/pre>\n<dt>Dropbox, Bitcasa \u3092\u8d77\u52d5\u3059\u308b<\/p>\n<dd>\n<pre>open -a 'Dropbox'\r\nopen -a 'Bitcasa'<\/pre>\n<\/dl>\n<h3>\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u307e\u3068\u3081\u308b<\/h3>\n<p>\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u307e\u3068\u3081\u307e\u3059\u3002 <a href=\"http:\/\/sourceforge.jp\/projects\/coteditor\/\">CotEditor<\/a> \u7b49\u3067\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u5165\u529b\u5f8c\u3001\u305d\u308c\u305e\u308c &#8220;\u5916\u51fa\u6642\u8a2d\u5b9a.command&#8221; &#8220;\u5e30\u5b85\u6642\u8a2d\u5b9a.command&#8221; \u3068\u3044\u3046\u540d\u524d\u3067\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h4>\u5916\u51fa\u6642\u8a2d\u5b9a.command<\/h4>\n<pre>#!\/bin\/bash\r\n\r\nosascript -e 'tell application \"Dropbox\" to quit'\r\nosascript -e 'tell application \"Bitcasa\" to quit'\r\ndiskutil unmount \"Beef\"\r\ndiskutil unmount \"Pork3\"\r\nnetworksetup -setairportpower en0 off\r\nblueutil off\r\n<\/pre>\n<h4>\u5e30\u5b85\u6642\u8a2d\u5b9a.command<\/h4>\n<pre>#!\/bin\/bash\r\n\r\nblueutil on\r\nnetworksetup -setairportpower en0 on\r\ndiskutil mount \"Beef\"\r\ndiskutil mount \"Pork3\"\r\nopen -a 'Dropbox'\r\nopen -a 'Bitcasa'\r\n<\/pre>\n<p>HDD\u306e\u540d\u524d\u3084 AirMac \u306e\u30c7\u30d0\u30a4\u30b9\u540d\u306f\u79c1\u306e\u7269\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u5404\u81ea\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002 <tt>#!\/bin\/bash<\/tt> \u3068\u3044\u3046\u884c\u306f\u5fc5\u305a1\u884c\u76ee\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u3068\u30c0\u30e1\u3067\u3059\u3088\u3002<\/p>\n<h3>\u66f8\u3044\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3067\u304d\u308b\u69d8\u306b\u3059\u308b<\/h3>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u5148\u307b\u3069\u4f5c\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u5b9f\u884c\u3067\u304d\u308b\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>chmod a+x \u5916\u51fa\u6642\u8a2d\u5b9a.command\r\nchmod a+x \u5e30\u5b85\u6642\u8a2d\u5b9a.command<\/pre>\n<p>\u5b8c\u6210\u3057\u305f2\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u3044\u5834\u6240\u306b\u7f6e\u3044\u3066\u3001\u5fc5\u8981\u306a\u6642\u306b\u3059\u3050\u306b\u5b9f\u884c\u3067\u304d\u308b\u69d8\u306b\u3057\u307e\u3059\u3002\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u7f6e\u3044\u3066\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u3001Dock\u306b\u5165\u308c\u3066\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u52d5\u4f5c\u3057\u307e\u3059\u3002\u50d5\u306f Dock \u306b\u5165\u308c\u3066\u3042\u308b\u300c\u3044\u308d\u3093\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u5165\u308c\u305f\u3001\u30e9\u30f3\u30c1\u30e3\u30fc\u98a8\u306e\u30d5\u30a9\u30eb\u30c0\u300d\u306e\u4e2d\u306b\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Macbook (Air) \u3092\u5916\u306b\u6301\u3063\u3066\u884c\u304f\u4e8b\u304c\u3061\u3087\u304f\u3061\u3087\u304f\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u969b\u306b\u3084\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u4e8b\u3001\u3084\u3063\u305f\u65b9\u304c\u3044\u3044\u4e8b\u304c\u308f\u308a\u3068\u591a\u304b\u3063\u305f\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u307e\u3068\u3081\u3066\u3067\u304d\u308b\u69d8\u306b\u3057\u307e\u3057\u305f\u3002 \u307e\u305a\u3084\u308a\u305f\u3044\u4e8b\u3068\u3001\u305d\u306e\u305f\u3081\u306b\u5b9f\u884c\u3059\u308b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-mac-os-x-tips"],"_links":{"self":[{"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/posts\/372"}],"collection":[{"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":10,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":487,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions\/487"}],"wp:attachment":[{"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drumsoft.com\/blog\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}