search for: now_time

Displaying 1 result from an estimated 1 matches for "now_time".

Did you mean: new_time
2004 Oct 05
0
new option implemented: --delete-mdays
...>= 0; i--) { if (max_delete && deletion_count > max_delete) break; if (!local_file_list->files[i]->basename) continue; - if (flist_find(flist,local_file_list->files[i]) < 0) { char *f = f_name(local_file_list->files[i]); - - time_t now_time = time(NULL); - time_t mday_time = now_time-delete_mdays*24*60*60; - time_t file_modtime = local_file_list->files[i]->modtime; - - if (delete_mdays!=-1 && file_modtime>mday_time){ - if(verbose) - rprintf(FINFO, - "not deleting %s, age %d days...