pub / yt2rss

Transforms a youtube channel into a podcast RSS feed to insert into a podcatcher
git clone https://src.jayvii.de/pub/yt2rss.git
Home | Log | Files | Exports | Refs | Submodules | README | LICENSE | RSS

commit 4fa2e9e3323288843cc4a356fc151856942fc788
parent 57cedec52c0f9de418e0f46733bd14fc0aeda498
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 27 Apr 2024 10:22:47 +0200

ensure that files with .opus extension are delted, rather than all files that end on opus

Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -77,5 +77,5 @@ The script will never "cleanup" audio files from the webdir root directory, afte # | | | | | # | | | | | |- command # | | | | | | - 0 0 * * * find /var/www/yt2rss/ -type f -name "*opus" ! -newermt $(date +%Y-%m-%d --date "-7 days") -exec rm {} \; + 0 0 * * * find /var/www/yt2rss/ -type f -name "*.opus" ! -newermt $(date +%Y-%m-%d --date "-7 days") -exec rm {} \; ```