Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Где будем искать
- TARGET_DIR=~/
- #Маска для отбора
- NAME_MASK=*ogg
- #Файл список
- OUTPUT_FILE=~/output.txt
- find "$TARGET_DIR" -name "$NAME_MASK" -print | tee "$OUTPUT_FILE"
Advertisement
Add Comment
Please, Sign In to add comment