New -find action "set_to_mtime"

This commit is contained in:
2016-08-20 08:53:02 +00:00
parent b27bd93c2f
commit ff65d7bb19
7 changed files with 80 additions and 49 deletions

View File

@ -1104,6 +1104,10 @@ not_enough_exec_arguments:;
Xorriso_no_findjob(xorriso, "-find -exec alter_date_r", 0);
goto ex;
}
} else if(strcmp(cpt, "set_to_mtime") == 0) {
Findjob_set_action_target(job, 59, NULL, 0);
} else if(strcmp(cpt, "lsdl")==0) {
Findjob_set_action_target(job, 8, NULL, 0);
@ -2022,9 +2026,9 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
" -prune, -decision yes|no, -true, -false",
" Operators: -not, -or, -and, -sub, (, -subend, ),",
" -if, -then, -elseif, -else, -endif",
" Action may be one of: echo, chown, chown_r, chgrp, chgrp_r",
" chmod, chmod_r, alter_date, alter_date_r, lsdl, compare,",
" rm, rm_r, compare, update, report_damage,",
" Action may be one of: echo, chown, chown_r, chgrp, chgrp_r,",
" chmod, chmod_r, alter_date, alter_date_r, set_to_mtime,",
" lsdl, compare, rm, rm_r, compare, update, report_damage,",
" report_lba, report_sections,",
" getfacl, setfacl, getfattr, setfattr, get_any_xattr,",
" list_extattr, get_md5, check_md5, make_md5,",