25-03-2025
This commit is contained in:
@@ -32,6 +32,8 @@ pip/pip.conf
|
||||
##### Recherche dans un répertoire particulier:
|
||||
|
||||
```bash
|
||||
# Fichiers cachés (-H) dans le dossier .ssh
|
||||
|
||||
$ fd -HI 'id_*' .ssh
|
||||
.ssh/id_ed25519
|
||||
.ssh/id_ed25519.pub
|
||||
@@ -72,6 +74,21 @@ $ fd -HI '.*[0-9]\.jpg$' ~
|
||||
$ find ~ -iname '*[0-9].jpg'
|
||||
```
|
||||
|
||||
##### Rechercher une extension:
|
||||
|
||||
```bash
|
||||
# Rechercher les scripts bash (.sh) dans le répertoire courant
|
||||
|
||||
$ fd -e sh .
|
||||
convert-videos-for-plex.sh
|
||||
handbrake_for_plex.sh
|
||||
keywords2insta.sh
|
||||
macho.sh
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
##### Sans arguments:
|
||||
|
||||
```bash
|
||||
@@ -96,6 +113,14 @@ $ fd -I -g php.ini /opt
|
||||
/opt/homebrew/etc/php/8.0/php.ini
|
||||
```
|
||||
|
||||
##### Rechercher plusieurs patterns:
|
||||
|
||||
```bash
|
||||
$ fd -H ".env|docker-compose.yml"
|
||||
.env
|
||||
docker-compose.yml
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Option:
|
||||
|
||||
Reference in New Issue
Block a user