Android Tasker: Empty Downloaded Files Everyday

Overview

A profile that runs everyday (for me at 4am) that clears or any downloaded files in the Download folder. This ensures that files that are needed are moved / filed in good time and anything else is removed.

Points To Note

I didn’t find a way to only delete files in a folder so the task deletes the folder (with everything in it) and creates a new folder with the same name (Download)

If the download for is used and the profile runs at the same time it may cause issues due to the workaround above.

Tasker

Profile: Delete Download Folder (33)
Time: 04:00
Enter: Delete Download Files (22)
A1: Delete Directory [ Dir:Download Recurse:On Use Root:Off ]
A2: Create Directory [ Dir:Download Create All:Off Use Root:Off ]

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Mobile Phone, Workflow. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.