Команда fd: опции, ключи и примеры использования
fd
An alternative to
find
. Aims to be faster and easier to use thanfind
. More information: https://github.com/sharkdp/fd.
- Recursively find files matching the given pattern in the current directory:
fd {{pattern}}
- Find files that begin with "foo":
fd {{'^foo'}}
- Find files with a specific extension:
fd --extension {{txt}}
- Find files in a specific directory:
fd {{pattern}} {{path/to/directory}}
- Include ignored and hidden files in the search:
fd --hidden --no-ignore {{pattern}}
- Execute a command on each search result returned:
fd {{pattern}} --exec {{command}}
Также может быть вам интересно:
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров
- Google прекращает поддержку сторонних приложений в API Chrome-like