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