Delete old files.
This commit is contained in:
parent
b8347e1645
commit
cfc5ac12b9
|
@ -62,6 +62,8 @@ function main()
|
||||||
--format "${ytdl_format}" \
|
--format "${ytdl_format}" \
|
||||||
"${feed}"
|
"${feed}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
find "${download_dir}" -type f -mtime +"${keep_for_days}" -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in New Issue