kyx / replace_hash_text_only.sh
0 вподобань
0 форк(-ів)
1 файл(-ів)
Остання активність 55 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 | # |
Новіше
Пізніше