New -find test -bad_outname, new -find action print_outname
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
@c man .\" First parameter, NAME, should be all caps
|
||||
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
@c man .\" other parameters are allowed: see man(7), man(1)
|
||||
@c man .TH XORRISO 1 "Version 1.3.5, Dec 16, 2013"
|
||||
@c man .TH XORRISO 1 "Version 1.3.5, Dec 28, 2013"
|
||||
@c man .\" Please adjust this date whenever revising the manpage.
|
||||
@c man .\"
|
||||
@c man .\" Some roff macros, for reference:
|
||||
@ -1299,7 +1299,7 @@ is 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.
|
||||
@c man .PP
|
||||
@sp 1
|
||||
Note that in the ISO image you are as powerful as the superuser. Access
|
||||
@ -2174,6 +2174,22 @@ 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".
|
||||
@*
|
||||
@item -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.
|
||||
@*
|
||||
@item -prune :
|
||||
If this test is reached and the tested file is a directory then -find will not
|
||||
dive into that directory. This test itself does always match.
|
||||
@ -2455,6 +2471,20 @@ E.g.:
|
||||
@*
|
||||
-find / -disk_name *_secret -exec hide on
|
||||
@*
|
||||
@item 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
|
||||
@*
|
||||
@item 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.
|
||||
|
Reference in New Issue
Block a user