I am trying to have all the files inside a temp folder deleted if they are an hour or so older....
I was wondering if this is possible on the Pi?
I have many files that get generated after looking at pictures inside Kodi and was looking for a way to have them get deleted as opposed to having to manually delete them. Big thank you to anyone that can assist me or spell it out for me. I have everything else running fine and just need to iron this last thing out.
I am using it to read my comics so it is generating a ton of the pages etc that I look at into the temp folder located in Kodi. If someone can help me to resolve this and make it a viable comic reader for me without having to worry about the space on the sd card from time to time that would be extremely appreciated!
I seemed to successfully re-route my Thumnails folder to the external using a xml I made:
If I can somehow even reroute the temp folder or even all of Kodi to the external that would be insanely awesome for me. Thank you again for any help. I know there are some very intelligent people on these forums so any help to resolve this is appreciated!