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