Tuesday, December 22, 2015

scripts - How to make my system delete all the files in a certain directory older than a certain time while keeping the directory structure intact? - Ask Ubuntu

scripts - How to make my system delete all the files in a certain directory older than a certain time while keeping the directory structure intact? - Ask Ubuntu: "have a directory on my machine, think of it as my own sort of tmp directory, but it's in my ~ directory. And I want to make it so that my system every 3 hours deletes all the files in (though keeping any directory structure intact, but still deleting all the files in all the levels of the directories recursively) that directory which are older than a da"



Lot of good information about automating repetitive tasks.,



'via Blog this'

No comments: