From 751a1aeb995fa7fb7fc2f03c2ab9384c18bc8f93 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 4 Jan 2025 19:02:00 +0200 Subject: [PATCH] Add debug messsage --- classify_videos.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classify_videos.sh b/classify_videos.sh index dae01b8..0456f4d 100755 --- a/classify_videos.sh +++ b/classify_videos.sh @@ -18,6 +18,8 @@ if [ -r "${HOME}/.config/youtube_channels_folders.json" ]; then echo "Moving file '${file}' to '${channel_folder}'..." mv -- "${file}" "${channel_folder}/" done <<< "$(ls | grep -- "${video_id}")" + else + echo "No folder for channel '${channel}', leaving files in the folder" fi fi fi