Created
March 6, 2018 12:20
-
-
Save markwaters/bd3a3f10042b274ae01882229b5ce76e to your computer and use it in GitHub Desktop.
bash script to backup your tiny tiny rss feeds via opml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script to backup your ttrss.info feeds via OPML | |
# Thanks to Francesco Turco | |
# Mark Waters - 20180306 | |
# Locate your $KEY at https://ttrss.info/prefs.php , Feeds , OPML | |
KEY=XXXXXXXXXXXXXXXXXXXXX | |
# Where to create the backup file , here I am using my mega.nz folder | |
DESTDIR=~/MEGA | |
wget -nv "https://ttrss.info/opml.php?op=publish&key=$KEY" -O $DESTDIR/ttrss.info.opml.backup.`date +%Y%m%d`.opml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment