2007-01-01 シェルの勉強:xargを使って、深さ1のディレクトリのサイズ一覧を取得 bash seasons$ find /home/seasons/ -maxdepth 1 -type d | xargs du -hs これで/home/seasons以下の1階層目のディレクトリ一覧のサイズが取得できる