All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All New Login

All gists matching topic ytdl

Recently created
Least recently created
Recently updated
Least recently updated
jackz's Avatar

jackz / ytdl-bulk

0 likes
0 forks
1 files
Last active 3 days ago
acquires links from stdin, downloads with yt-dlp and then rsyncs to media folder
script ytdl
1 #!/bin/sh
2 set -e
3 TMP_PATH=/tmp/yt-dl #$(mktemp -d)
4 mkdir $TMP_PATH || true
5 DEST=/mnt/hs2/main/media/storage/music/
6
7 # Exit if the temp directory wasn't created successfully.
8 if [ ! -e "$TMP_PATH" ]; then
9 >&2 echo "Failed to create temp directory"
10 exit 1
Newer Older

Powered by Opengist ⋅ Load: 46ms⋅

English
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文