remove old scripts

This commit is contained in:
shibao 2022-03-22 19:14:34 -04:00
parent 23d7932d68
commit c367c670e4
2 changed files with 0 additions and 52 deletions

View File

@ -1,40 +0,0 @@
#!/usr/bin/env bash
set -uo pipefail #set -e causes errors since most playlist will throw errors
PARENT='/run/media/default/backup'
# audio
PARENT_AUDIO="$PARENT/audio"
(cd "$PARENT_AUDIO/anjunadeep" && echo https://www.youtube.com/playlist?list=UUbDgBFAketcO26wz-pR6OKA | youtube-archive-audio)
(cd "$PARENT_AUDIO/eeuphonious" && echo https://www.youtube.com/playlist?list=UUaHM7hKCwJ_eR-dP3c7PKHw | youtube-archive-audio)
(cd "$PARENT_AUDIO/trianglemusic" && echo https://www.youtube.com/playlist?list=UUDBdeEaSnlu-AU-ITBTRkeQ | youtube-archive-audio)
(cd "$PARENT_AUDIO/ikiru" && echo https://www.youtube.com/playlist?list=UUVg1vfzDjkT9T_F-PZGC5Mw | youtube-archive-audio)
# video
PARENT_VIDEO="$PARENT/youtube"
(cd "$PARENT_VIDEO/yotsu" && echo https://www.youtube.com/playlist?list=UU0FplT88irKbHeZucDiFplw | youtube-archive)
(cd "$PARENT_VIDEO/jeb-gardener" && echo https://www.youtube.com/playlist?list=UU5zdi4KM3ewwfYMNo_KnU0A | youtube-archive)
(cd "$PARENT_VIDEO/vagrant-holiday" && echo https://www.youtube.com/channel/UCgNqlRGqHdxNRPR6ycynWhw | youtube-archive)
(cd "$PARENT_VIDEO/fredrik-knudsen" && echo https://www.youtube.com/channel/UCbWcXB0PoqOsAvAdfzWMf0w | youtube-archive)
(cd "$PARENT_VIDEO/internet-historian" && echo https://www.youtube.com/channel/UCR1D15p_vdP3HkrH8wgjQRw | youtube-archive)
(cd "$PARENT_VIDEO/breadsword" && echo https://www.youtube.com/channel/UCcScIr2iskFm-zRo8FZ7cRw | youtube-archive)
#(cd "$PARENT_VIDEO/" && echo | youtube-archive)
# git
PARENT_GIT="$PARENT/git"
(cd "$PARENT_GIT/deluge" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/calibre" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/hydrus" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/kdeconnect-kde" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/keepassxc" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/liferea" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/mpd" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/mpv" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/quassel" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/syncthing" && git remote update && git fetch --all && git reset --hard origin/main)
(cd "$PARENT_GIT/syncthing-android" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/trackma" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/bibanon" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/deemix" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/deemix-pyweb" && git remote update && git fetch --all && git reset --hard origin/master)
(cd "$PARENT_GIT/deemix-webui" && git remote update && git fetch --all && git reset --hard origin/master)

View File

@ -1,12 +0,0 @@
#!/bin/sh
while [ 1 ]
do
ping -c5 https://google.com
if [ $? -eq 0]; then
echo Ping check ok, waiting...
else
poweroff
fi
done