10 lines
177 B
Bash
Executable File
10 lines
177 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
IN_DIR="${1:-.}"
|
|
|
|
for file in "${IN_DIR}"/*.txt; do
|
|
rainbowrss --feeds "${file}" --out "$(basename "${file}" ".txt").html" || true
|
|
done
|