mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
fd: add Chinese translation (#15037)
Co-authored-by: Ein Verne <git@einverne.info>
This commit is contained in:
parent
3aefd7b034
commit
bf0f4ee287
1 changed files with 29 additions and 0 deletions
29
pages.zh/common/fd.md
Normal file
29
pages.zh/common/fd.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# fd
|
||||
|
||||
> `find` 的替代工具。
|
||||
> 旨在比 `find` 更快且更易于使用。
|
||||
> 更多信息:<https://github.com/sharkdp/fd>.
|
||||
|
||||
- 递归查找当前目录中匹配特定模式的文件:
|
||||
|
||||
`fd "{{字符串|正则表达式}}"`
|
||||
|
||||
- 查找以特定字符串开头的文件:
|
||||
|
||||
`fd "{{^字符串}}"`
|
||||
|
||||
- 查找具有特定扩展名的文件:
|
||||
|
||||
`fd --extension {{txt}}`
|
||||
|
||||
- 在特定目录中查找文件:
|
||||
|
||||
`fd "{{字符串|正则表达式}}" {{路径/到/目录}}`
|
||||
|
||||
- 在搜索中包含被忽略和隐藏的文件:
|
||||
|
||||
`fd --hidden --no-ignore "{{字符串|正则表达式}}"`
|
||||
|
||||
- 对每个返回的搜索结果执行命令:
|
||||
|
||||
`fd "{{字符串|正则表达式}}" --exec {{命令}}`
|
Loading…
Add table
Reference in a new issue