2009-03-24から1日間の記事一覧

HowTo:Maildirの中の2日以前のメールを移動する

Maildirがあるディレクトリで下記コマンドを実施。 # nice find */Maildir/*/ -type f -mtime +2 | while read line ; \ do mv -i $line /home/foo/two_days_ago/. ; \ doneうぬ。もっとテクニカルにやりたいものよ

how to use PostgreSQL

ソースでいんすこするとユーザつくらにゃならんで面倒ね。 apt最高 # configure --prefix=/usr/local/pgsql # make # make installせっせとユーザつくる # groupadd -g 5432 postgres # useradd -u 5432 -g postgres -d /usr/local/pgsql -m -s /bin/bash po…