touchでダミーファイルを作って、findのnewerオプションと否定演算子を使い、xargsとrmで削除する。 $ touch -t 201303030000 /tmp/hoge $ find /usr/local/apache/logs \! -newer /tmp/hoge|sort|less
![特定の日付より古いファイルを削除する方法|ざる魂](https://cdn-ak-scissors.b.st-hatena.com/image/square/d399521dac19b58331d7a30c9746cb77aa3eb5e3/height=288;version=1;width=512/http%3A%2F%2Fmikio.github.io%2Fimg%2Ffind-del%2Ffind2.png)
touchでダミーファイルを作って、findのnewerオプションと否定演算子を使い、xargsとrmで削除する。 $ touch -t 201303030000 /tmp/hoge $ find /usr/local/apache/logs \! -newer /tmp/hoge|sort|less
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く