2019-07-23から1日間の記事一覧
# 手抜き版 find hoge/ -type f -mtime -1 | tar cvf hoge_yesterday.tar.gz # ちゃんと動く版 find hoge/ -type f -mtime -1 -print0 | tar cvf hoge_yesterday.tar.gz --null -T - findの結果をtarでアーカイブしたい - 浦安市在住+デジカメ
http://hoge.example.com を https://hoge.example.com に置き換えるやつ # findでやる方法 find . -type f | xargs sed -e 's/http:\/\/hoge\.example\.com/https:\/\/hoge.example.com/m' -i # grepでやる方法 grep -rIl http://hoge.example.com . | xarg…