Files
2025-08-23 18:07:31 -06:00

14 lines
232 B
Bash

#!/bin/bash
# tmp links file
tmpfile="/tmp/links.tmp"
# get links
nano "$tmpfile"
# download to .
cat "$tmpfile" | while read line; do
wget "$line"
done
# cleanup
rm -f "$tmpfile" 1>/dev/null 2>&1 # suppress errors or output