2017-01-01から1ヶ月間の記事一覧
hでホスト、-pでポート、-Uでユーザ名 pg_dumpall -h localhost -p 5432 -U postgres > dump.dat
ファイル数のカウント ls -l $dir | wc -lディレクトリの容量 du -h $dir
一行ずつ読んで取得 -i url.txtすでに存在する場合はスキップ -nc証明書エラー対策 --no-check-certificateタイムアウトの秒数 --timeout=10まとめ wget -i url.txt -nc --no-check-certificate --timeout=10 追記 w でウェイト -w 1