find.js
function modifiedSince(dirname, time, shouldPrune, cb) {
    // Make sure time is in seconds
    var timestr = Math.ceil(time + 1).toString();

    var args = [
        '-type', 'f',
        // Modified less than time seconds ago
        '-newermt',
        timestr+' seconds ago',
    ];
    if(shouldPrune) {
        args = EXCLUDED_ARGS.concat(args);
    }

    // Run the command
    find(dirname, args, cb);
}
function modifiedSince(dirname, time, shouldPrune, cb) {
    // Make sure time is in seconds
    var timestr = Math.ceil(time + 1).toString();

    var args = [
        '-type', 'f',
        // Modified less than time seconds ago
        '-newermt',
        timestr+' seconds ago',
    ];
    if(shouldPrune) {
        args = EXCLUDED_ARGS.concat(args);
    }

    // Run the command
    find(dirname, args, cb);
}
function modifiedSince ( dirname , time , shouldPrune , cb ) { // Make sure time is in seconds var timestr = Math . ceil ( time + 1 ) . toString ( ) ; var args = [ '-type' , 'f' , // Modified less than time seconds ago '-newermt' , timestr + ' seconds ago' , ] ; if ( shouldPrune ) { args = EXCLUDED_ARGS . concat ( args ) ; } // Run the command find ( dirname , args , cb ) ; }
Get all modified files since "time" seconds ago
Get all modified files since time seconds ago