<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nogoro</author_name>
  <author_url>https://blog.hatena.ne.jp/nogoro/</author_url>
  <blog_title>俺の雑記帳</blog_title>
  <blog_url>https://memo-random.hatenablog.com/</blog_url>
  <categories>
    <anon>LINUX</anon>
    <anon>basis</anon>
  </categories>
  <description>俺管理のLINUXサーバーの容量削減手順だが、 LINUXコマンド集を兼ねた、備忘録。 （前は調べる/考える手間を惜しむようなコマンドでも、今は、AI-LLM(今回はCopilot)で 少々複雑な処理でも すぐ適切なコマンドやその組み合わせを教えてくれるんで。） コマンド集としてのサマリ 以降は、容量削減作業としての解説。 BusyBoxでcdするためにパスの\を/に変換する du結果の上位だけ表示(sort) ログファイル名中の日時部を抜き、ファイル名共通部を一覧 日付毎ディレクトリを削除（年ごとに数えたり、特定ﾌｫｰﾏｯﾄだけ削除したり） コマンド集としてのサマリ 文字列を置換[sed]（…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo-random.hatenablog.com%2Fentry%2F2024%2F04%2F08%2F111647&quot; title=&quot;容量削減作業で使ったLINUXコマンドを記録（ファイル名を置換し一意集計したり… sed, &amp;quot;$(…)&amp;quot;, sort, uniq, find, ls,,,） - 俺の雑記帳&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>2024-04-08 11:16:47</published>
  <title>容量削減作業で使ったLINUXコマンドを記録（ファイル名を置換し一意集計したり… sed, &quot;$(…)&quot;, sort, uniq, find, ls,,,）</title>
  <type>rich</type>
  <url>https://memo-random.hatenablog.com/entry/2024/04/08/111647</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
