kyx / replace_hash_text_only.sh
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 48 minutes ago
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # Recursively scans a folder (including hidden files/folders), but only processes |
| 5 | # human-readable text files. It: |
| 6 | # 1) Lists files containing OLD value |
| 7 | # 2) Asks for confirmation |
| 8 | # 3) Creates .backup copies (AFTER confirmation) |
| 9 | # 4) Replaces OLD -> NEW in those files |
| 10 | # |
Новее
Позже