mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-24 23:11:29 +08:00
fd: add Traditional Chinese translation and sync Simplified Chinese pages with English pages (#22061)
This commit is contained in:
+13
-6
@@ -1,11 +1,10 @@
|
||||
# fd
|
||||
|
||||
> `find` 的替代工具。
|
||||
> 旨在比 `find` 更快且更易于使用。
|
||||
> 在文件系统中查找条目。
|
||||
> 另请参阅:`find`。
|
||||
> 更多信息:<https://github.com/sharkdp/fd#how-to-use>。
|
||||
|
||||
- 递归查找当前目录中匹配特定模式的文件:
|
||||
- 在当前目录中递归查找匹配特定模式的文件:
|
||||
|
||||
`fd "{{字符串|正则表达式}}"`
|
||||
|
||||
@@ -15,7 +14,7 @@
|
||||
|
||||
- 查找具有特定扩展名的文件:
|
||||
|
||||
`fd --extension {{txt}}`
|
||||
`fd {{[-e|--extension]}} {{扩展名}}`
|
||||
|
||||
- 在特定目录中查找文件:
|
||||
|
||||
@@ -23,8 +22,16 @@
|
||||
|
||||
- 在搜索中包含被忽略和隐藏的文件:
|
||||
|
||||
`fd --hidden --no-ignore "{{字符串|正则表达式}}"`
|
||||
`fd {{[-H|--hidden]}} {{[-I|--no-ignore]}} "{{字符串|正则表达式}}"`
|
||||
|
||||
- 排除匹配特定通配符(glob)模式的文件:
|
||||
|
||||
`fd {{字符串}} {{[-E|--exclude]}} {{通配符}}`
|
||||
|
||||
- 对每个返回的搜索结果执行命令:
|
||||
|
||||
`fd "{{字符串|正则表达式}}" --exec {{命令}}`
|
||||
`fd "{{字符串|正则表达式}}" {{[-x|--exec]}} {{命令}}`
|
||||
|
||||
- 仅在当前目录中查找文件:
|
||||
|
||||
`fd {{[-d|--max-depth]}} 1 "{{字符串|正则表达式}}"`
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# fd
|
||||
|
||||
> 在檔案系統中尋找項目。
|
||||
> 另請參閱:`find`。
|
||||
> 更多資訊:<https://github.com/sharkdp/fd#how-to-use>。
|
||||
|
||||
- 在目前目錄中遞迴尋找符合特定模式的檔案:
|
||||
|
||||
`fd "{{字串|正規表示式}}"`
|
||||
|
||||
- 尋找以特定字串開頭的檔案:
|
||||
|
||||
`fd "{{^字串}}"`
|
||||
|
||||
- 尋找具有特定副檔名的檔案:
|
||||
|
||||
`fd {{[-e|--extension]}} {{副檔名}}`
|
||||
|
||||
- 在特定目錄中尋找檔案:
|
||||
|
||||
`fd "{{字串|正規表示式}}" {{路徑/至/目錄}}`
|
||||
|
||||
- 在搜尋中包含被忽略和隱藏的檔案:
|
||||
|
||||
`fd {{[-H|--hidden]}} {{[-I|--no-ignore]}} "{{字串|正規表示式}}"`
|
||||
|
||||
- 排除符合特定萬用字元(glob)模式的檔案:
|
||||
|
||||
`fd {{字串}} {{[-E|--exclude]}} {{萬用字元}}`
|
||||
|
||||
- 對每個傳回的搜尋結果執行命令:
|
||||
|
||||
`fd "{{字串|正規表示式}}" {{[-x|--exec]}} {{命令}}`
|
||||
|
||||
- 僅在目前目錄中尋找檔案:
|
||||
|
||||
`fd {{[-d|--max-depth]}} 1 "{{字串|正規表示式}}"`
|
||||
Reference in New Issue
Block a user