Skip to content

Instantly share code, notes, and snippets.

@paulschick
Created December 18, 2023 18:12
Show Gist options
  • Select an option

  • Save paulschick/db2d04baf1da2167be4c73ad92f9803f to your computer and use it in GitHub Desktop.

Select an option

Save paulschick/db2d04baf1da2167be4c73ad92f9803f to your computer and use it in GitHub Desktop.

Revisions

  1. paulschick created this gist Dec 18, 2023.
    6 changes: 6 additions & 0 deletions ytarchive-background.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash

    function yt {
    printf "Downloading stream at:\t'$1'\n"
    nohup $HOME/go/bin/ytarchive -q -w -o '%(channel)s/%(upload_date)s_%(title)s' "$1" best 2>&1 > ytarchive-"$(date +%Y%m%d-%H%M%S)".log &
    }