New command -move

This commit is contained in:
2013-03-13 19:59:18 +00:00
parent 430a519c79
commit 4c819f6dba
9 changed files with 183 additions and 117 deletions

View File

@ -529,7 +529,7 @@ int Xorriso_count_args(struct XorrisO *xorriso, int argc, char **argv,
"data_cache_size",
"errfile_log","error_behavior","extract","extract_single",
"jigdo","lns","lnsi","load","logfile",
"map","map_single","msg_op","page","return_with",
"map","map_single","move","msg_op","page","return_with",
"scdbackup_tag","update","update_r","volume_date",
""
};
@ -684,7 +684,7 @@ int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso,
"* File manipulations:",
"iso_rr_pattern",
"rm", "rm_r", "rmdir", "mv",
"rm", "rm_r", "rmdir", "move", "mv",
"chown", "chown_r", "chgrp", "chgrp_r", "chmod", "chmod_r", "setfacl",
"setfacl_r", "setfacl_list", "setfattr", "setfattr_r", "setfattr_list",
"alter_date", "alter_date_r", "hide",
@ -1446,6 +1446,10 @@ next_command:;
(*idx)++;
ret= Xorriso_option_mount_opts(xorriso, arg1, 0);
} else if(strcmp(cmd, "move")==0) {
(*idx)+= 2;
ret= Xorriso_option_move(xorriso, arg1, arg2, 0);
} else if(strcmp(cmd,"msg_op") == 0) {
(*idx)+= 2;
ret= Xorriso_option_msg_op(xorriso, arg1, arg2, 0);