<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xkumiyu</author_name>
  <author_url>https://blog.hatena.ne.jp/xkumiyu/</author_url>
  <blog_title>kumilog.net</blog_title>
  <blog_url>https://www.kumilog.net/</blog_url>
  <categories>
    <anon>Shell</anon>
    <anon>API</anon>
    <anon>CLI</anon>
  </categories>
  <description>シェルを使ってSlackにアップロードしたファイルのダウンロードしたり、削除したりします。ワンライナーとタイトルに書いたものの、若干無理やりです。また、ダウンロードと削除はまとめて1行ではなく、別々です。 準備 トークン作成 jqのインストール ファイルのダウンロード ユーザIDの取得 ダウンロードするファイルのURLの取得 URLにアクセスして、ファイルのダウンロード ファイルの削除 取得するファイルリストにフィルタ シェルスクリプトにしました 使い方 例 まとめ 参考 準備 トークン作成 はじめにこちらのページからトークンを作成します。 jqのインストール APIで得た値の処理にjqを使う…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kumilog.net%2Fentry%2Fslack-file-cleaner&quot; title=&quot;ワンライナーで自分がSlackにアップロードしたファイルのダウンロードと削除を行う - kumilog.net&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>https://cdn-ak.f.st-hatena.com/images/fotolife/x/xkumiyu/20180330/20180330002943.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-30 09:00:00</published>
  <title>ワンライナーで自分がSlackにアップロードしたファイルのダウンロードと削除を行う</title>
  <type>rich</type>
  <url>https://www.kumilog.net/entry/slack-file-cleaner</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
