The cleanup script folder "download" — optimization?

Good day, colleagues!
Mac - working machine and in the folder "downloads" after months of work accumulate tons of garbage (any jpg/torrent/png files, etc).
To empty a folder under the root is not an option. to remove the ideal of "mask", as these png and jpg files sometimes contain garbage and valuable information.
Maybe someone knows a software or some script to Automator or something - to somehow "beauty" to solve this issue? I am sure that not only I'm seeing it) thanks!
March 23rd 20 at 18:45
2 answers
March 23rd 20 at 18:47
Solution
You always have the terminal. And in it a Bash. You write all sorts of scripts and perform on a schedule or as a team. The input threshold is very low, more or less complicated things will require a little gugleniya and read documentation, but in General everything is quite simple. Well when you have specific questions on "how to do X" - then come here :)
March 23rd 20 at 18:49
There is a wonderful thing Automator, study.

Find more questions by tags macOS