diff --git a/.archived/tx-stats-html.nu b/.archived/tx-stats-html.nu
index 2c4d85f..9c0588e 100755
--- a/.archived/tx-stats-html.nu
+++ b/.archived/tx-stats-html.nu
@@ -2,14 +2,14 @@
let old_head = "
"
let new_head = (
- ["Torrent StatsLast updated:", (date now | format date "%F %T%:z"), "
"]
+ ["Torrent StatsLast updated:", (date now | format date "%F %T%:z"), "
"]
| str join ' '
)
(
- transmission-remote -l
+ /home/jas/admin-scripts/list_torrents.py
| from ssv
| to html
| str replace ($old_head) ($new_head)
- | save -f -r /home/jas/public/html/torrentstats.html
+ | save -f -r /home/jas/public/html/torrents.html
)
diff --git a/qbt_stats_html.nu b/qbt_stats_html.nu
new file mode 100755
index 0000000..9c0588e
--- /dev/null
+++ b/qbt_stats_html.nu
@@ -0,0 +1,15 @@
+#!/usr/bin/env nu
+
+let old_head = ""
+let new_head = (
+ ["Torrent StatsLast updated:", (date now | format date "%F %T%:z"), "
"]
+ | str join ' '
+)
+
+(
+ /home/jas/admin-scripts/list_torrents.py
+ | from ssv
+ | to html
+ | str replace ($old_head) ($new_head)
+ | save -f -r /home/jas/public/html/torrents.html
+)