From 8c19c8628340e4137d7f6f385dfe74859ae1d14a Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Mon, 4 Feb 2019 07:46:27 +0100 Subject: [PATCH 1/8] Update flush_season --- flush_season | 1 + 1 file changed, 1 insertion(+) diff --git a/flush_season b/flush_season index ac14c0a..2b16838 100755 --- a/flush_season +++ b/flush_season @@ -26,3 +26,4 @@ fi cd $SHOWS/${serie}/Season_${season} /root/bin/filecounter ${serie}_${season}x /root/bin/mvext counted $suffix +/root/bin/push_gdrive From 66291a39b5e526d7155f814d5ed6259060930ed7 Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Mon, 4 Feb 2019 11:42:05 +0100 Subject: [PATCH 2/8] Update flush_season --- flush_season | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flush_season b/flush_season index 2b16838..fe53e88 100755 --- a/flush_season +++ b/flush_season @@ -26,4 +26,4 @@ fi cd $SHOWS/${serie}/Season_${season} /root/bin/filecounter ${serie}_${season}x /root/bin/mvext counted $suffix -/root/bin/push_gdrive + From f2f49ee4673d9bea2f2c977ea204ef80248c459b Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Mon, 4 Feb 2019 11:42:24 +0100 Subject: [PATCH 3/8] Update flush_video --- flush_video | 1 + 1 file changed, 1 insertion(+) diff --git a/flush_video b/flush_video index 8630384..c4ab1ab 100755 --- a/flush_video +++ b/flush_video @@ -32,3 +32,4 @@ d) /root/bin/flush_doku;; s) /root/bin/flush_season;; esac +/root/bin/push_gdrive From 02f16d7413cbe611ab4ef7f64b909701b21617f6 Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Mon, 4 Feb 2019 11:47:52 +0100 Subject: [PATCH 4/8] Update flush_movies --- flush_movies | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flush_movies b/flush_movies index 84c8e68..97a44a5 100755 --- a/flush_movies +++ b/flush_movies @@ -7,6 +7,7 @@ let counter=$counter+1 rename " " "_" * done +mkdir /tmp/flush_movies clear echo "============== Video Files =====================" echo @@ -18,7 +19,8 @@ do read zielname if [ $zielname != "x" ] then - mv -v $datei $MOVIES/$zielname + mv -v $datei /tmp/flush_movies/$zielname fi done +mv -v /tmp/flush_movies/* $MOVIES From 856585689b440d415b22a26680e4b16966f2433a Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:17:16 +0100 Subject: [PATCH 5/8] Update flush_movies --- flush_movies | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/flush_movies b/flush_movies index 97a44a5..da7ce50 100755 --- a/flush_movies +++ b/flush_movies @@ -7,7 +7,7 @@ let counter=$counter+1 rename " " "_" * done -mkdir /tmp/flush_movies +mkdir flush_movies clear echo "============== Video Files =====================" echo @@ -19,8 +19,13 @@ do read zielname if [ $zielname != "x" ] then - mv -v $datei /tmp/flush_movies/$zielname + mv -v $datei flush_movies/$zielname fi done -mv -v /tmp/flush_movies/* $MOVIES +echo "============== Video Files =====================" +cd flush_movies +ls -lh +mv -v * $MOVIES +cd - +rmdir flush_movies From 8e509aa1f1a4d804676067c46d4dfac72384082d Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:18:55 +0100 Subject: [PATCH 6/8] Update flush_movies --- flush_movies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flush_movies b/flush_movies index da7ce50..347ac0c 100755 --- a/flush_movies +++ b/flush_movies @@ -7,12 +7,12 @@ let counter=$counter+1 rename " " "_" * done -mkdir flush_movies clear echo "============== Video Files =====================" echo ls -lh +mkdir flush_movies for datei in $(ls ) do echo $datei From 2565df03fd6b2b3f702efaefc1e54d9f44d0745a Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:21:29 +0100 Subject: [PATCH 7/8] Update flush_movies --- flush_movies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flush_movies b/flush_movies index 347ac0c..0ed834a 100755 --- a/flush_movies +++ b/flush_movies @@ -12,9 +12,9 @@ echo "============== Video Files =====================" echo ls -lh -mkdir flush_movies for datei in $(ls ) do + mkdir flush_movies 2>/dev/null echo $datei read zielname if [ $zielname != "x" ] From c992c84519d450e52959d9b820daa8e1568d8283 Mon Sep 17 00:00:00 2001 From: kilhaasi <34743687+kilhaasi@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:23:21 +0100 Subject: [PATCH 8/8] Update flush_movies --- flush_movies | 1 + 1 file changed, 1 insertion(+) diff --git a/flush_movies b/flush_movies index 0ed834a..5914042 100755 --- a/flush_movies +++ b/flush_movies @@ -23,6 +23,7 @@ do fi done +clear echo "============== Video Files =====================" cd flush_movies ls -lh