diff --git a/download-yt-feeds b/download-yt-feeds index 68c8478..54149ad 100755 --- a/download-yt-feeds +++ b/download-yt-feeds @@ -75,6 +75,7 @@ function main() local files_after="$(find "${download_dir}" -type f)" local time="$(date +'%F_%R')" while read file; do + [[ "${file}" =~ "\.vtt$" ]] && continue # Skip subtitle files. # https://stackoverflow.com/a/8811800/5965450 if [[ "${files_before#*${file}}" == "${files_before}" ]]; then echo "${file/${download_dir}\//}" \