<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>acokikoy</author_name>
  <author_url>https://blog.hatena.ne.jp/acokikoy/</author_url>
  <blog_title>acokikoy's notes</blog_title>
  <blog_url>https://acokikoy.hatenablog.com/</blog_url>
  <categories>
    <anon>CheatSheet</anon>
    <anon>UNIX・Linuxコマンド</anon>
    <anon>業務効率化</anon>
  </categories>
  <description>zipファイルの中身を確認するには zipinfoコマンド を使う。 複数のzipファイルの中身を知りたい時に、一括でzipinfoして結果を txtファイル書き出すシェルスクリプトのメモ。 #!/bin/sh files=(`ls -1 *.zip`) for file in ${files[@]} do zipinfo ${file} &gt; ${file}.txt done exit 0 上記を適当なファイル名で保存。 ターミナルappで、目的のディレクトリに移動したら % source do-zipinfo.sh で実行する。 foo.zip の結果が foo.zip.txt という名で書…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Facokikoy.hatenablog.com%2Fentry%2F2022%2F05%2F26%2F101021&quot; title=&quot;【macOS, zsh】複数zipファイルの中身ファイル一覧を書き出す - acokikoy&amp;#39;s notes&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>2022-05-26 10:10:21</published>
  <title>【macOS, zsh】複数zipファイルの中身ファイル一覧を書き出す</title>
  <type>rich</type>
  <url>https://acokikoy.hatenablog.com/entry/2022/05/26/101021</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
