指令

Window 上的 rsync

最後更新: 2018-11-06

 

目錄

  • Window 上的 rsync
  • cwRsync_5.3.0_Free
  • ICW rsync Server
  • cygwin Client 使用
  • Backup script
  • --exclude-from
  • Other rsync Client

 

tips-002 查看檔案

 

less 的應用

-N: 顯示行數

 

cat 的應用

cat -A file

-A(-vET) 顯示所有字符(包括不能 print 的)

 

 

grep (regex)

最後更新: 2019-05-15

目錄

  • 一個要小心的錯誤
  • skip 某 Folder
  • 好用的 -w (whole words)
  • Disable regex
  • 只找某格式的檔案
  • grep 的 return
  • 數有幾多行
  • Line-Number
  • 開頭與結尾(^, $)
  • NOT OR AND
  • 彩色
  • egrep, fgrep
  • 面對 Binary 檔
  • Regular Expressions
  • grep in ps without grep
  • Context Line Control
  • Line buffered
  • 其他常用參數
  • Tips

 

檔案內容從 big5 到 utf8 (iconv)

最後更新: 2017-06-14

 

介紹

 

使用 iconv 可以 preview 亂碼的 file.

注意, putty 的 encode 要與 "-t utf8" 相對應

 

RSS feed