本來英文是eta(estimated time of arrival 預計到達時間),翻譯錯了,乾脆去掉好了。
先要有兩個個工具 , 系統可能沒有: msgunfmt 和 msgfmt ; 這兩個工具 和同類的 工具, 都打包在 gettext 裡面, 單獨安裝是找不到的
安裝 : yum install -y gettext
然後 去掉中文翻譯的 "英國中部時間" :
yuminstall -y gettext
msgunfmt /usr/share/locale/zh_cn/lc_messages/wget.mo -o - | sed
's/eta(英國中部時間)/eta/
' | msgfmt - -o /tmp/zh_cn.mo
sudo
cp /tmp/zh_cn.mo /usr/share/locale/zh_cn/lc_messages/wget
.morm -f /tmp/zh_cn.mo
注意: 執行的時候, 漢字 不要是亂碼了啊,不然,,,,,,無效咯!~
搞定![ps:
win下安裝wget以及使用wget
1 安裝wget 雙擊安裝 2 系統環境變數,新建 gnu home c program files gnuwin32 3 path新增 分割線 gnu home bin 分割線 命令如下 wget r p k np nc e robots off wget r p k nc e robots of...
記錄wget使用詳解 Mac安裝wget
一 記錄wget使用詳解 1 什麼是wget 2 wget命令詳解 來自大牛隨性i的文章介紹的wget命令詳解 二 mac安裝wget的兩種方法 將解壓的安裝包放到自己想要保管的路徑下,然後在終端進入對應的安裝包位置,如果不知道檔案的路徑可檢視檔案的簡介 位置 或者直接把檔案拖進終端即可顯示檔案路徑...
wget資料彙總
wget常用引數 p 指定儲存檔案的目錄。n don t re retrieve files unless newer than t 嘗試連線次數,當wget無法與伺服器建立連線時,嘗試連線多少次。只需要輸入 wget mk w 20 http www.example.com 命令就行了。一些其他常...