title: Nodejs child process for deleting 6 hours older files on a directory
body: <p>I am working on NodeJs Child process for deleting all files on a directory which are 6 hours older. I have already done : delete all files on a directory without directory delete. But can do whose files are 6 hours olders.</p>
  
  <p>My code : </p>
  
  <pre><code>var exec = require('child_process').exec;
  var path = '../tmp/uploads';
  
  exec('rm '+ path+"/*", function(err,stdout,stderr){     
    if(err)
       console.log('Directory Empty', err);
    else
       console.log("Files Deleted");
  });
  </code></pre>
  
  <p>So I need help on deleting those files which are older then 6 hours</p>