mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-29 02:53:42 +01:00
12 lines
466 B
Plaintext
Executable File
12 lines
466 B
Plaintext
Executable File
#!/usr/bin/env nu
|
|
|
|
(
|
|
transmission-remote -n 'transmission:transmission' -l
|
|
| from ssv
|
|
| to html
|
|
| str replace '<style>body { background-color:white;color:black; }</style>' '<head><title>Armbian torrent stats</title><link type="text/css" rel="stylesheet" href="style2.css"/></head>'
|
|
| save -f -r /home/jas/staging/armbian-torrentstats.html
|
|
)
|
|
|
|
scp /home/jas/staging/armbian-torrentstats.html jas@192.168.2.102:/home/jas/public/html/armbian-torrentstats.html
|