Enabled more actions for -findx: getfacl, getfattr, get_any_xattr

This commit is contained in:
2024-08-28 16:31:16 +02:00
parent c68d4f2ec6
commit ffe18475a4
7 changed files with 209 additions and 80 deletions

View File

@ -2135,8 +2135,8 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Commands
getfattr
prints xattr name-value pairs to the result channel. The
choice of namespaces depends on the setting of command -xattr:
"on" or "user" restricts it to the namespace "user", "any"
only omits namespace "isofs".
"off", "on", or "user" restricts it to the namespace "user",
"any" only omits namespace "isofs".
get_any_xattr
prints xattr name-value pairs from any namespace except ACL to
the result channel. This is mostly for debugging of namespace
@ -4296,7 +4296,7 @@ File: xorriso.info, Node: Navigate, Next: Verify, Prev: Inquiry, Up: Command
match one of the patterns. Similar to shell command du -sk.
-findx disk_path [test [op] [test ...]] [-exec action [params]] --
Like -find but operating on local filesystem and not on the ISO
image. This is subject to the settings of -follow.
image. The -findx command is subject to the settings of -follow.
-findx accepts the same tests as -find, but only the following ones
work like described with -find:
-bad_outname, -decision, -disk_name, -disk_path, -has_acl,
@ -4336,11 +4336,33 @@ File: xorriso.info, Node: Navigate, Next: Verify, Prev: Inquiry, Up: Command
empty_iso_dir
deletes all files from the counterpart in the ISO image. To
be used with -type "m" to truncate mount points.
print_outname
prints in the first line the filename as found on disk, and in
the second line the filename after conversion forth and back
between local character set and one of the namespaces
"rockridge", "joliet", "ecma119", or "hfsplus". The third
output line is "-" .
The name conversion does not take into respect the possibility
of name collisions in the target namespace. Such collisions
are most likely in "joliet" and "ecma119", where they get
resolved by automatic file name changes.
estimate_size
prints a lower and an upper estimation of the number of blocks
which the found files together will occupy in the emerging ISO
image. This does not account for the superblock, for the
directories in the -findx path, or for image padding.
getfacl
prints access permissions in ACL text form to the result
channel.
getfattr
prints xattr name-value pairs to the result channel. The
choice of namespaces depends on the setting of command -xattr:
"off", "on", or "user" restricts it to the namespace "user",
"any" causes all namespaces to be shown.
get_any_xattr
prints xattr name-value pairs to the result channel. All
namespaces are shown regardless of the setting of command
-xattr.
list_extattr mode
prints a script to the result channel, which would use FreeBSD
command setextattr to set the file's xattr name-value pairs of
@ -6012,9 +6034,9 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -close_filter_list bans filter registration: Filter. (line 50)
* -commit writes pending ISO image: Writing. (line 27)
* -commit_eject writes and ejects: Writing. (line 53)
* -compare reports ISO/disk differences: Navigate. (line 156)
* -compare_l reports ISO/disk differences: Navigate. (line 172)
* -compare_r reports ISO/disk differences: Navigate. (line 168)
* -compare reports ISO/disk differences: Navigate. (line 178)
* -compare_l reports ISO/disk differences: Navigate. (line 194)
* -compare_r reports ISO/disk differences: Navigate. (line 190)
* -compliance controls standard compliance: SetWrite. (line 62)
* -concat copies ISO file content: Restore. (line 148)
* -copyright_file sets copyright file name: SetWrite. (line 266)
@ -6182,8 +6204,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -setfattr_r sets xattr in ISO image: Manip. (line 118)
* -set_filter applies filter to file: Filter. (line 58)
* -set_filter_r applies filter to file tree: Filter. (line 84)
* -show_stream shows data source and filters: Navigate. (line 176)
* -show_stream_r shows data source and filters: Navigate. (line 194)
* -show_stream shows data source and filters: Navigate. (line 198)
* -show_stream_r shows data source and filters: Navigate. (line 216)
* -sh_style_result makes results look more like shell: Scripting.
(line 63)
* -signal_handling controls handling of system signals: Exception.
@ -6318,8 +6340,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Filter, apply to file, -set_filter: Filter. (line 58)
* Filter, ban registration, -close_filter_list: Filter. (line 50)
* Filter, register, -external_filter: Filter. (line 20)
* Filter, show chain, -show_stream: Navigate. (line 176)
* Filter, show chains of tree, -show_stream_r: Navigate. (line 194)
* Filter, show chain, -show_stream: Navigate. (line 198)
* Filter, show chains of tree, -show_stream_r: Navigate. (line 216)
* Filter, unregister, -unregister_filter: Filter. (line 47)
* Filter, zisofs parameters, -zisofs: SetWrite. (line 317)
* Filter, _definition: Filter. (line 6)
@ -6523,9 +6545,9 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Unsuitable media states, _definition: Media. (line 25)
* UTF-16, for Joliet paths, -compliance: SetWrite. (line 114)
* Verify, check blocks, -check_media: Verify. (line 21)
* Verify, compare ISO and disk file, -compare: Navigate. (line 156)
* Verify, compare ISO and disk tree, -compare_r: Navigate. (line 168)
* Verify, compare ISO and disk, -compare_l: Navigate. (line 172)
* Verify, compare ISO and disk file, -compare: Navigate. (line 178)
* Verify, compare ISO and disk tree, -compare_r: Navigate. (line 190)
* Verify, compare ISO and disk, -compare_l: Navigate. (line 194)
* Verify, file checksum, -check_md5: Verify. (line 184)
* Verify, file tree checksums, -check_md5_r: Verify. (line 198)
* Verify, preset -check_media, -check_media_defaults: Verify. (line 40)
@ -6577,44 +6599,44 @@ Node: Insert64966
Node: SetInsert77161
Node: Manip87397
Node: CmdFind99517
Node: Filter120831
Node: Writing125453
Node: SetWrite137947
Node: Bootable169222
Node: Jigdo200504
Node: Charset205507
Node: Exception208836
Node: DialogCtl215025
Node: Inquiry217627
Node: Navigate230192
Node: Verify240256
Node: Restore251405
Node: Emulation263612
Node: Scripting274068
Node: Frontend281962
Node: Examples291588
Node: ExDevices292766
Node: ExCreate293427
Node: ExDialog294727
Node: ExGrowing295998
Node: ExModifying296807
Node: ExBootable297317
Node: ExCharset297872
Node: ExPseudo298768
Node: ExCdrecord299695
Node: ExMkisofs300015
Node: ExGrowisofs301912
Node: ExException303065
Node: ExTime303523
Node: ExIncBackup303981
Node: ExRestore308007
Node: ExRecovery308953
Node: Files309525
Node: Environ310859
Node: Seealso311607
Node: Bugreport312371
Node: Legal312962
Node: CommandIdx313974
Node: ConceptIdx332303
Node: Filter120839
Node: Writing125461
Node: SetWrite137955
Node: Bootable169230
Node: Jigdo200512
Node: Charset205515
Node: Exception208844
Node: DialogCtl215033
Node: Inquiry217635
Node: Navigate230200
Node: Verify241417
Node: Restore252566
Node: Emulation264773
Node: Scripting275229
Node: Frontend283123
Node: Examples292749
Node: ExDevices293927
Node: ExCreate294588
Node: ExDialog295888
Node: ExGrowing297159
Node: ExModifying297968
Node: ExBootable298478
Node: ExCharset299033
Node: ExPseudo299929
Node: ExCdrecord300856
Node: ExMkisofs301176
Node: ExGrowisofs303073
Node: ExException304226
Node: ExTime304684
Node: ExIncBackup305142
Node: ExRestore309168
Node: ExRecovery310114
Node: Files310686
Node: Environ312020
Node: Seealso312768
Node: Bugreport313532
Node: Legal314123
Node: CommandIdx315135
Node: ConceptIdx333464

End Tag Table