網頁

2014年7月2日 星期三

linux 上一次取代多個檔案的字串

如果我們想要把某個目錄下面的檔案的xxx字串取代為yyy,該如何做呢 ?

方法:

find * | xargs -i sed -i "s:xxx:yyy:g" {}

[git pull --rebae] It looks like git-am is in progress. Cannot rebase.

今天遇到一個問題,當我下 git pull --rebase 時會出現以下的error message:

     It looks like git-am is in progress. Cannot rebase.

解法;

rm -rf .git/rebase-apply

linux mail 夾帶檔案(attach file) 範例 : 使用 mutt

無法查看此摘要。請 按這裡查看文章。