Automatically delete garbage files using Powershell

preview_player
Показать описание
In this video we have a look at a DIY way to automatically delete files or folders that are no longer needed (garbage) from the Download(s) folder(s).
The tool of choice for the scripting is Powershell and the automation is completed with a simple, basic Task Scheduler task.
/!\ Please use this with care (as it implies permanent deletion of files and/or folders within particular folders)!

I hope you enjoy it and find this useful and if so please Like and Subscribe for more goodies :)

Рекомендации по теме
Комментарии
Автор

Great video,
I have gone through like 3 times and it is exceptional. My question is, how can i set the logs.txt file to clean up and displays just the latest, not everything piling up over the previous????
Please respond if you can .
Thank you.

mbonithomas
welcome to shbcf.ru