<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anatofuz</author_name>
  <author_url>https://blog.hatena.ne.jp/anatofuz/</author_url>
  <blog_title>Acme::AnaTofuZ-&gt;new;</blog_title>
  <blog_url>https://anatofuz.hatenablog.com/</blog_url>
  <categories>
    <anon>mac</anon>
    <anon>zsh</anon>
    <anon>シェル</anon>
  </categories>
  <description>mac osのスクリーンショットは、 defaults write com.apple.screencapture type のあとに使う形式をいれることで、作成する形式を変換することができます。 なので下のようなシェルスクリプトをzshrcの中に書いておきます。 screenshot-type () { if [ $# -ne 1 ] then echo &quot;require bmp,gif,jpg,pdf,png,tiff&quot; return 1 else defaults write com.apple.screencapture type $1 fi } これは、入力がbmp, gif, jp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanatofuz.hatenablog.com%2Fentry%2F2019%2F05%2F26%2F180641&quot; title=&quot;mac osのスクリーンショットの形式を変えるコマンドを作る(zshの補完も) - Acme::AnaTofuZ-&amp;gt;new;&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>2019-05-26 18:06:41</published>
  <title>mac osのスクリーンショットの形式を変えるコマンドを作る(zshの補完も)</title>
  <type>rich</type>
  <url>https://anatofuz.hatenablog.com/entry/2019/05/26/180641</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
