1
0
nixfiles/pkgs/feeds-dir/feeds-dir.sh

8 lines
149 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
for file in ./*.txt; do
rainbowrss --feeds "${file}" --out "$(basename "${file}" ".txt").html" || true
done