2011-06-01から1ヶ月間の記事一覧

タブ区切りで書き出し

% psql -U user db -A -F"`echo -e '\t'`" -c 'sql' > out.tsv

空のディレクトリに.emptyを追加する

git

% find . -type d -empty -not -path './.git*' -exec touch {}\/.empty \;.gitignore % find . -type d -empty -not -path './.git*' -exec touch {}\/.gitignore \;