Page 1 of 1

How to delete files older than x days with directories

Posted: Wed Jul 15, 2015 7:43 am
by shalu
Hi,

I am beginner in Livecode, I am looking for the code of delete files older than x days :oops: :roll:

Re: How to delete files older than x days with directories

Posted: Wed Jul 15, 2015 12:12 pm
by Klaus
Hi shalu,

ok, the first part is easy:
...
delete file "path/to/file.file"
...
For getting the date of files, check "files" (long | detailed files) in the dictionary!


Best

Klaus