Hi All,
I am using a script in DS to delete/purge files from a DS job server using a command like this:
print (exec ( 'cmd' , 'del " '||$GV_path||' *.txt' || ' " ' ));
This deletes all the files which exist there with the *.txt extension.
What I really want to do is delete only those files that have a create date of more than "x" days old.
Does anyone know how I can parse that in the cmd using Data Serrvices?
thanks!!