New -find and -findx action list_extattr

This commit is contained in:
2011-08-25 19:00:46 +00:00
parent dc83e4dcf3
commit 8c98fb039d
10 changed files with 350 additions and 55 deletions

View File

@ -1212,6 +1212,8 @@ int Xorriso_findx_action(struct XorrisO *xorriso, struct FindjoB *job,
if(ret != -1)
ret= Xorriso_estimate_file_size(xorriso, job, basename, stbuf.st_mode,
stbuf.st_size, 0);
} else if(action == 44) { /* list_extattr */
ret= Xorriso_list_extattr(xorriso, NULL, abs_path, show_path, target, 2);
} else {
Text_shellsafe(show_path, xorriso->result_line, 0);
strcat(xorriso->result_line, "\n");