New -find test -bad_outname, new -find action print_outname
This commit is contained in:
@ -960,7 +960,8 @@ the Rock Ridge name of a file object in the ISO image. If no Rock
|
||||
Ridge information is recorded in the loaded ISO image, then you will
|
||||
see ISO 9660 names which are of limited length and character set. If
|
||||
no Rock Ridge information shall be stored in an emerging ISO image, then
|
||||
their names will get mapped to such restricted ISO 9660 names.
|
||||
their names will get mapped to such restricted ISO 9660 (aka ECMA-119)
|
||||
names.
|
||||
|
||||
Note that in the ISO image you are as powerful as the superuser.
|
||||
Access permissions of the existing files in the image do not apply to
|
||||
@ -1608,6 +1609,20 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Commands
|
||||
tree, in "hfsplus" tree, in all trees ("on"), or not hidden
|
||||
in any tree ("off").
|
||||
Those which are hidden in some tree match -not -hidden "off".
|
||||
-bad_outname namespace :
|
||||
Matches files with names which change when converted forth
|
||||
and back between the local character set and one of the
|
||||
namespaces "rockridge", "joliet", "ecma119", "hfsplus".
|
||||
All applicable -compliance rules are taken into respect.
|
||||
Rule "omit_version" is always enabled, because else
|
||||
namespaces "joliet" and "ecma119" would cause changes with
|
||||
every non-directory name. Consider to also enable rules
|
||||
"no_force_dots" resp. "no_j_force_dots".
|
||||
The namespaces use different character sets and apply further
|
||||
restrictions to name length, permissible characters, and
|
||||
mandatory name components. "rockridge" uses the character
|
||||
set defined by -out_charset, "joliet" uses UCS-2BE, "ecma119"
|
||||
uses ASCII, "hfsplus" uses UTF-16BE.
|
||||
-prune :
|
||||
If this test is reached and the tested file is a directory
|
||||
then -find will not dive into that directory. This test
|
||||
@ -1816,6 +1831,18 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Commands
|
||||
joliet:hfsplus
|
||||
E.g.:
|
||||
-find / -disk_name *_secret -exec hide on
|
||||
print_outname
|
||||
prints in the first line the filename as registered by the
|
||||
program model, 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.
|
||||
E.g.:
|
||||
-find / -bad_outname joliet -exec print_outname joliet
|
||||
estimate_size
|
||||
prints a lower and an upper estimation of the number of
|
||||
blocks which the found files together will occupy in the
|
||||
@ -4855,8 +4882,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -abort_on controls abort on error: Exception. (line 27)
|
||||
* -abstract_file sets abstract file name: SetWrite. (line 237)
|
||||
* -acl controls handling of ACLs: Loading. (line 170)
|
||||
* -add inserts one or more paths: Insert. (line 46)
|
||||
* -add_plainly inserts one or more paths: Insert. (line 65)
|
||||
* -add inserts one or more paths: Insert. (line 47)
|
||||
* -add_plainly inserts one or more paths: Insert. (line 66)
|
||||
* -alter_date sets timestamps in ISO image: Manip. (line 154)
|
||||
* -alter_date_r sets timestamps in ISO image: Manip. (line 187)
|
||||
* -append_partition adds arbitrary file after image end: Bootable.
|
||||
@ -4886,7 +4913,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -chmod_r sets permissions in ISO image: Manip. (line 77)
|
||||
* -chown sets ownership in ISO image: Manip. (line 49)
|
||||
* -chown_r sets ownership in ISO image: Manip. (line 54)
|
||||
* -clone copies ISO directory tree: Insert. (line 180)
|
||||
* -clone copies ISO directory tree: Insert. (line 181)
|
||||
* -close controls media closing: SetWrite. (line 357)
|
||||
* -close_damaged closes damaged track and session: Writing. (line 170)
|
||||
* -close_filter_list bans filter registration: Filter. (line 52)
|
||||
@ -4897,19 +4924,19 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -compare_r reports ISO/disk differences: Navigate. (line 159)
|
||||
* -compliance controls standard compliance: SetWrite. (line 58)
|
||||
* -copyright_file sets copyright file name: SetWrite. (line 231)
|
||||
* -cp_clone copies ISO directory tree: Insert. (line 192)
|
||||
* -cp_clone copies ISO directory tree: Insert. (line 193)
|
||||
* -cp_rx copies file trees to disk: Restore. (line 111)
|
||||
* -cpax copies files to disk: Restore. (line 107)
|
||||
* -cpr inserts like with cp -r: Insert. (line 156)
|
||||
* -cpr inserts like with cp -r: Insert. (line 157)
|
||||
* -cpx copies files to disk: Restore. (line 95)
|
||||
* -cut_out inserts piece of data file: Insert. (line 130)
|
||||
* -cut_out inserts piece of data file: Insert. (line 131)
|
||||
* -data_cache_size adjusts read cache size: Loading. (line 296)
|
||||
* -dev acquires one drive for input and output: AqDrive. (line 12)
|
||||
* -device_links gets list of drives: Inquiry. (line 18)
|
||||
* -devices gets list of drives: Inquiry. (line 7)
|
||||
* -dialog enables dialog mode: DialogCtl. (line 7)
|
||||
* -disk_dev_ino fast incremental backup: Loading. (line 217)
|
||||
* -disk_pattern controls pattern expansion: Insert. (line 35)
|
||||
* -disk_pattern controls pattern expansion: Insert. (line 36)
|
||||
* -displacement compensate altered image start address: Loading.
|
||||
(line 60)
|
||||
* -drive_class controls drive accessability: Loading. (line 78)
|
||||
@ -4962,7 +4989,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -list_formats lists available formats: Writing. (line 134)
|
||||
* -list_profiles lists supported media: Writing. (line 184)
|
||||
* -list_speeds lists available write speeds: Writing. (line 146)
|
||||
* -lns creates ISO symbolic link: Insert. (line 175)
|
||||
* -lns creates ISO symbolic link: Insert. (line 176)
|
||||
* -load addresses a particular session as input: Loading. (line 35)
|
||||
* -local_charset sets terminal character set: Charset. (line 47)
|
||||
* -logfile logs output channels to file: Frontend. (line 20)
|
||||
@ -4974,12 +5001,12 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -lsl lists files in ISO image: Navigate. (line 38)
|
||||
* -lslx lists files on disk: Navigate. (line 62)
|
||||
* -lsx lists files on disk: Navigate. (line 51)
|
||||
* -map inserts path: Insert. (line 89)
|
||||
* -map_l inserts paths from disk file: Insert. (line 98)
|
||||
* -map_single inserts path: Insert. (line 94)
|
||||
* -map inserts path: Insert. (line 90)
|
||||
* -map_l inserts paths from disk file: Insert. (line 99)
|
||||
* -map_single inserts path: Insert. (line 95)
|
||||
* -mark sets synchronizing message: Frontend. (line 25)
|
||||
* -md5 controls handling of MD5 sums: Loading. (line 183)
|
||||
* -mkdir creates ISO directory: Insert. (line 170)
|
||||
* -mkdir creates ISO directory: Insert. (line 171)
|
||||
* -mount issues mount command for ISO session: Restore. (line 129)
|
||||
* -mount_cmd composes mount command line: Inquiry. (line 52)
|
||||
* -mount_cmd controls mount command: Inquiry. (line 68)
|
||||
@ -5001,7 +5028,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -padding sets amount or mode of image padding: SetWrite. (line 382)
|
||||
* -page set terminal geometry: DialogCtl. (line 19)
|
||||
* -paste_in copies file into disk file: Restore. (line 124)
|
||||
* -path_list inserts paths from disk file: Insert. (line 79)
|
||||
* -path_list inserts paths from disk file: Insert. (line 80)
|
||||
* -pathspecs sets meaning of = with -add: SetInsert. (line 118)
|
||||
* -pkt_output consolidates text output: Frontend. (line 7)
|
||||
* -preparer_id sets preparer id: SetWrite. (line 250)
|
||||
@ -5017,7 +5044,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -pwd tells working directory in ISO: Navigate. (line 20)
|
||||
* -pwdx tells working directory on disk: Navigate. (line 23)
|
||||
* -quoted_not_list sets exclusions: SetInsert. (line 72)
|
||||
* -quoted_path_list inserts paths from disk file: Insert. (line 84)
|
||||
* -quoted_path_list inserts paths from disk file: Insert. (line 85)
|
||||
* -read_mkisofsrc searches and reads .mkisofsrc file: Emulation.
|
||||
(line 151)
|
||||
* -read_speed set read speed: Loading. (line 11)
|
||||
@ -5065,9 +5092,9 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -toc shows list of sessions: Inquiry. (line 28)
|
||||
* -toc_of shows list of sessions: Inquiry. (line 43)
|
||||
* -uid sets global ownership: SetWrite. (line 282)
|
||||
* -update inserts path if different: Insert. (line 103)
|
||||
* -update_l inserts paths if different: Insert. (line 125)
|
||||
* -update_r inserts paths if different: Insert. (line 114)
|
||||
* -update inserts path if different: Insert. (line 104)
|
||||
* -update_l inserts paths if different: Insert. (line 126)
|
||||
* -update_r inserts paths if different: Insert. (line 115)
|
||||
* -use_readline enables readline for dialog: DialogCtl. (line 28)
|
||||
* -version prints help text: Scripting. (line 23)
|
||||
* -volid sets volume id: SetWrite. (line 164)
|
||||
@ -5132,9 +5159,9 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Dialog, EOF resistant, -named_pipe_loop: Frontend. (line 123)
|
||||
* Dialog, line editing, -use_readline: DialogCtl. (line 28)
|
||||
* Dialog, terminal geometry, -page: DialogCtl. (line 19)
|
||||
* Directories, copy, -cp_clone: Insert. (line 192)
|
||||
* Directory, copy, -clone: Insert. (line 180)
|
||||
* Directory, create, -mkdir: Insert. (line 170)
|
||||
* Directories, copy, -cp_clone: Insert. (line 193)
|
||||
* Directory, copy, -clone: Insert. (line 181)
|
||||
* Directory, create, -mkdir: Insert. (line 171)
|
||||
* Directory, delete, -rmdir: Manip. (line 32)
|
||||
* disk_path, _definition: Insert. (line 6)
|
||||
* Drive, _definition: Drives. (line 6)
|
||||
@ -5206,22 +5233,22 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Insert, file exclusion pattern, -not_leaf: SetInsert. (line 62)
|
||||
* Insert, file exclusion, -not_mgt: SetInsert. (line 23)
|
||||
* Insert, file exclusion, -quoted_not_list: SetInsert. (line 72)
|
||||
* Insert, if different, -update: Insert. (line 103)
|
||||
* Insert, if different, -update_l: Insert. (line 125)
|
||||
* Insert, if different, -update_r: Insert. (line 114)
|
||||
* Insert, if different, -update: Insert. (line 104)
|
||||
* Insert, if different, -update_l: Insert. (line 126)
|
||||
* Insert, if different, -update_r: Insert. (line 115)
|
||||
* Insert, large file splitting, -split_size: SetInsert. (line 140)
|
||||
* Insert, limit data file size, -file_size_limit: SetInsert. (line 7)
|
||||
* Insert, links or mount points, -follow: SetInsert. (line 76)
|
||||
* Insert, meaning of = with -add, -pathspecs: SetInsert. (line 118)
|
||||
* Insert, non-dashed arguments, -add_plainly: Insert. (line 65)
|
||||
* Insert, path, -map: Insert. (line 89)
|
||||
* Insert, path, -map_single: Insert. (line 94)
|
||||
* Insert, paths from disk file, -map_l: Insert. (line 98)
|
||||
* Insert, paths from disk file, -path_list: Insert. (line 79)
|
||||
* Insert, paths from disk file, -quoted_path_list: Insert. (line 84)
|
||||
* Insert, paths, -cpr: Insert. (line 156)
|
||||
* Insert, pathspecs, -add: Insert. (line 46)
|
||||
* Insert, piece of data file, -cut_out: Insert. (line 130)
|
||||
* Insert, non-dashed arguments, -add_plainly: Insert. (line 66)
|
||||
* Insert, path, -map: Insert. (line 90)
|
||||
* Insert, path, -map_single: Insert. (line 95)
|
||||
* Insert, paths from disk file, -map_l: Insert. (line 99)
|
||||
* Insert, paths from disk file, -path_list: Insert. (line 80)
|
||||
* Insert, paths from disk file, -quoted_path_list: Insert. (line 85)
|
||||
* Insert, paths, -cpr: Insert. (line 157)
|
||||
* Insert, pathspecs, -add: Insert. (line 47)
|
||||
* Insert, piece of data file, -cut_out: Insert. (line 131)
|
||||
* ISO 9660, _definition: Model. (line 6)
|
||||
* iso_rr_path, _definition: Insert. (line 7)
|
||||
* Jigdo Template Extraction, -jigdo: Jigdo. (line 33)
|
||||
@ -5265,7 +5292,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Partition table, _definition: Bootable. (line 138)
|
||||
* Pathspec, _definition: SetInsert. (line 120)
|
||||
* Pattern expansion, _definition: Processing. (line 24)
|
||||
* Pattern expansion, for disk paths, -disk_pattern: Insert. (line 35)
|
||||
* Pattern expansion, for disk paths, -disk_pattern: Insert. (line 36)
|
||||
* Pattern expansion, for ISO paths, -iso_rr_pattern: Manip. (line 10)
|
||||
* Permissions, in ISO image, -chmod: Manip. (line 65)
|
||||
* Permissions, in ISO image, -chmod_r: Manip. (line 77)
|
||||
@ -5330,7 +5357,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Sorting order, for -x, -list_arg_sorting: ArgSort. (line 27)
|
||||
* SUN Disk Label, production: Bootable. (line 220)
|
||||
* SUN SPARC boot images, activation: Bootable. (line 270)
|
||||
* Symbolic link, create, -lns: Insert. (line 175)
|
||||
* Symbolic link, create, -lns: Insert. (line 176)
|
||||
* System area, _definition: Bootable. (line 126)
|
||||
* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 238)
|
||||
* Table-of-content, show, -toc: Inquiry. (line 28)
|
||||
@ -5390,46 +5417,46 @@ Node: ArgSort26499
|
||||
Node: AqDrive27991
|
||||
Node: Loading31036
|
||||
Node: Insert47965
|
||||
Node: SetInsert58164
|
||||
Node: Manip66741
|
||||
Node: CmdFind76521
|
||||
Node: Filter91563
|
||||
Node: Writing96119
|
||||
Node: SetWrite106250
|
||||
Node: Bootable126835
|
||||
Node: Jigdo143225
|
||||
Node: Charset147472
|
||||
Node: Exception150234
|
||||
Node: DialogCtl156354
|
||||
Node: Inquiry158952
|
||||
Node: Navigate165269
|
||||
Node: Verify173567
|
||||
Node: Restore182599
|
||||
Node: Emulation189686
|
||||
Node: Scripting199988
|
||||
Node: Frontend207759
|
||||
Node: Examples217366
|
||||
Node: ExDevices218544
|
||||
Node: ExCreate219203
|
||||
Node: ExDialog220488
|
||||
Node: ExGrowing221753
|
||||
Node: ExModifying222558
|
||||
Node: ExBootable223062
|
||||
Node: ExCharset223614
|
||||
Node: ExPseudo224506
|
||||
Node: ExCdrecord225404
|
||||
Node: ExMkisofs225721
|
||||
Node: ExGrowisofs227061
|
||||
Node: ExException228196
|
||||
Node: ExTime228650
|
||||
Node: ExIncBackup229109
|
||||
Node: ExRestore233089
|
||||
Node: ExRecovery234022
|
||||
Node: Files234592
|
||||
Node: Seealso235891
|
||||
Node: Bugreport236614
|
||||
Node: Legal237195
|
||||
Node: CommandIdx238206
|
||||
Node: ConceptIdx254868
|
||||
Node: SetInsert58179
|
||||
Node: Manip66756
|
||||
Node: CmdFind76536
|
||||
Node: Filter93137
|
||||
Node: Writing97693
|
||||
Node: SetWrite107824
|
||||
Node: Bootable128409
|
||||
Node: Jigdo144799
|
||||
Node: Charset149046
|
||||
Node: Exception151808
|
||||
Node: DialogCtl157928
|
||||
Node: Inquiry160526
|
||||
Node: Navigate166843
|
||||
Node: Verify175141
|
||||
Node: Restore184173
|
||||
Node: Emulation191260
|
||||
Node: Scripting201562
|
||||
Node: Frontend209333
|
||||
Node: Examples218940
|
||||
Node: ExDevices220118
|
||||
Node: ExCreate220777
|
||||
Node: ExDialog222062
|
||||
Node: ExGrowing223327
|
||||
Node: ExModifying224132
|
||||
Node: ExBootable224636
|
||||
Node: ExCharset225188
|
||||
Node: ExPseudo226080
|
||||
Node: ExCdrecord226978
|
||||
Node: ExMkisofs227295
|
||||
Node: ExGrowisofs228635
|
||||
Node: ExException229770
|
||||
Node: ExTime230224
|
||||
Node: ExIncBackup230683
|
||||
Node: ExRestore234663
|
||||
Node: ExRecovery235596
|
||||
Node: Files236166
|
||||
Node: Seealso237465
|
||||
Node: Bugreport238188
|
||||
Node: Legal238769
|
||||
Node: CommandIdx239780
|
||||
Node: ConceptIdx256442
|
||||
|
||||
End Tag Table
|
||||
|
Reference in New Issue
Block a user