| 1 |
|
| 2 |
|
| 3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 4 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 5 |
<html> |
| 6 |
<head> |
| 7 |
<meta name="generator" content="groff -Thtml, see www.gnu.org"> |
| 8 |
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| 9 |
<meta name="Content-Style" content="text/css"> |
| 10 |
<style type="text/css"> |
| 11 |
p { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 12 |
pre { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 13 |
table { margin-top: 0; margin-bottom: 0; vertical-align: top } |
| 14 |
h1 { text-align: center } |
| 15 |
</style> |
| 16 |
<title>PYCDLIB-EXPLORER</title> |
| 17 |
|
| 18 |
</head> |
| 19 |
<body> |
| 20 |
|
| 21 |
<h1 align="center">PYCDLIB-EXPLORER</h1> |
| 22 |
|
| 23 |
<a href="#NAME">NAME</a><br> |
| 24 |
<a href="#SYNOPSIS">SYNOPSIS</a><br> |
| 25 |
<a href="#DESCRIPTION">DESCRIPTION</a><br> |
| 26 |
<a href="#COMMANDS">COMMANDS</a><br> |
| 27 |
<a href="#SEE ALSO">SEE ALSO</a><br> |
| 28 |
<a href="#AUTHOR">AUTHOR</a><br> |
| 29 |
|
| 30 |
<hr> |
| 31 |
|
| 32 |
|
| 33 |
<h2>NAME |
| 34 |
<a name="NAME"></a> |
| 35 |
</h2> |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
<p style="margin-left:11%; margin-top: 1em">pycdlib-explorer |
| 40 |
- tool to examine and modify ISOs using pycdlib</p> |
| 41 |
|
| 42 |
<h2>SYNOPSIS |
| 43 |
<a name="SYNOPSIS"></a> |
| 44 |
</h2> |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
<p style="margin-left:11%; margin-top: 1em"><b>pycdlib-explorer |
| 49 |
<iso-file></b></p> |
| 50 |
|
| 51 |
<h2>DESCRIPTION |
| 52 |
<a name="DESCRIPTION"></a> |
| 53 |
</h2> |
| 54 |
|
| 55 |
|
| 56 |
<p style="margin-left:11%; margin-top: 1em">This is a tool |
| 57 |
to examine and modify existing ISO files on disk. Using this |
| 58 |
tool, the files, directories, and metadata on an ISO can be |
| 59 |
examined, new files can be added, and old files can be |
| 60 |
deleted. Note that due to the nature of the ISO standard, |
| 61 |
files or directories on the ISO cannot be modified in place |
| 62 |
in a general way. To accomplish this, remove the file and |
| 63 |
then re-add it with new contents.</p> |
| 64 |
|
| 65 |
<p style="margin-left:11%; margin-top: 1em">The commands |
| 66 |
that change the contents of the ISO only modify the |
| 67 |
in-memory copy. Changes are written out to a new ISO file |
| 68 |
when the <b>write</b> command is issued.</p> |
| 69 |
|
| 70 |
|
| 71 |
<p style="margin-left:11%; margin-top: 1em">pycdlib-explorer |
| 72 |
has no command-line options; instead, it is controlled |
| 73 |
entirely at runtime through commands. The following section |
| 74 |
describes the available commands in pycdlib-explorer.</p> |
| 75 |
|
| 76 |
<h2>COMMANDS |
| 77 |
<a name="COMMANDS"></a> |
| 78 |
</h2> |
| 79 |
|
| 80 |
|
| 81 |
<p style="margin-left:11%; margin-top: 1em"><b>add_file |
| 82 |
<iso_path> <src_filename> |
| 83 |
[rr_name=<rr_name>] <br> |
| 84 |
[joliet_path=<joliet_path>]</b></p> |
| 85 |
|
| 86 |
<p style="margin-left:22%;">Add the contents of |
| 87 |
<b>src_filename</b> to the ISO at the location specified in |
| 88 |
<b>iso_path</b>. If the ISO is a Rock Ridge ISO, |
| 89 |
<b>rr_name</b> must be specified; otherwise, it must not be. |
| 90 |
If the ISO is not a Joliet ISO, <b>joliet_path</b> must not |
| 91 |
be specified. If the ISO is a Joliet ISO, <b>joliet_path</b> |
| 92 |
is optional, but highly recommended to supply.</p> |
| 93 |
|
| 94 |
<p style="margin-left:11%;"><b>cd <iso_dir></b></p> |
| 95 |
|
| 96 |
<p style="margin-left:22%;">Change the current working |
| 97 |
directory to relative or absolute ISO path |
| 98 |
<b>iso_dir</b>.</p> |
| 99 |
|
| 100 |
<table width="100%" border="0" rules="none" frame="void" |
| 101 |
cellspacing="0" cellpadding="0"> |
| 102 |
<tr valign="top" align="left"> |
| 103 |
<td width="11%"></td> |
| 104 |
<td width="6%"> |
| 105 |
|
| 106 |
|
| 107 |
<p><b>cwd</b></p></td> |
| 108 |
<td width="5%"></td> |
| 109 |
<td width="53%"> |
| 110 |
|
| 111 |
|
| 112 |
<p>Show the current working directory.</p></td> |
| 113 |
<td width="25%"> |
| 114 |
</td></tr> |
| 115 |
<tr valign="top" align="left"> |
| 116 |
<td width="11%"></td> |
| 117 |
<td width="6%"> |
| 118 |
|
| 119 |
|
| 120 |
<p><b>exit</b></p></td> |
| 121 |
<td width="5%"></td> |
| 122 |
<td width="53%"> |
| 123 |
|
| 124 |
|
| 125 |
<p>Exit out of pycdlib-explorer.</p></td> |
| 126 |
<td width="25%"> |
| 127 |
</td></tr> |
| 128 |
</table> |
| 129 |
|
| 130 |
<p style="margin-left:11%;"><b>get <iso_file> |
| 131 |
<out_file></b></p> |
| 132 |
|
| 133 |
<p style="margin-left:22%;">Copy the contents of the |
| 134 |
relative or absolute ISO path <b>iso_file</b> into |
| 135 |
<b>out_file</b>.</p> |
| 136 |
|
| 137 |
<table width="100%" border="0" rules="none" frame="void" |
| 138 |
cellspacing="0" cellpadding="0"> |
| 139 |
<tr valign="top" align="left"> |
| 140 |
<td width="11%"></td> |
| 141 |
<td width="6%"> |
| 142 |
|
| 143 |
|
| 144 |
<p><b>help</b></p></td> |
| 145 |
<td width="5%"></td> |
| 146 |
<td width="78%"> |
| 147 |
|
| 148 |
|
| 149 |
<p>Print the available commands. Use "help |
| 150 |
<cmd>" for a more detailed description of the |
| 151 |
commands, including the command-line arguments they |
| 152 |
require.</p> </td></tr> |
| 153 |
<tr valign="top" align="left"> |
| 154 |
<td width="11%"></td> |
| 155 |
<td width="6%"> |
| 156 |
|
| 157 |
|
| 158 |
<p><b>ls</b></p></td> |
| 159 |
<td width="5%"></td> |
| 160 |
<td width="78%"> |
| 161 |
|
| 162 |
|
| 163 |
<p>Show the contents of the current working directory. The |
| 164 |
format of the output is: TYPE(F=file, D=directory) NAME.</p></td></tr> |
| 165 |
</table> |
| 166 |
|
| 167 |
<p style="margin-left:11%;"><b>mkdir <iso_path> |
| 168 |
[rr_name=<rr_name>] |
| 169 |
[joliet_path=<joliet_path>]</b></p> |
| 170 |
|
| 171 |
<p style="margin-left:22%;">Make a new directory called |
| 172 |
<b>iso_path</b>. If the ISO is a Rock Ridge ISO, |
| 173 |
<b>rr_name</b> must be specified; otherwise, it must not be. |
| 174 |
If the ISO is not a Joliet ISO, <b>joliet_path</b> must not |
| 175 |
be specified. If the ISO is a Joliet ISO, <b>joliet_path</b> |
| 176 |
is optional, but highly recommended to supply.</p> |
| 177 |
|
| 178 |
<p style="margin-left:11%;"><b>print_mode |
| 179 |
[iso9660|rr|joliet|udf]</b></p> |
| 180 |
|
| 181 |
<p style="margin-left:22%;">Change which ’mode’ |
| 182 |
of filenames are printed out. There are four main modes: |
| 183 |
ISO9660 (iso9660, the default), Rock Ridge (rr), Joliet |
| 184 |
(joliet), and UDF (udf). The original iso9660 mode only |
| 185 |
allows filenames of 8 characters, plus 3 for the extension. |
| 186 |
The Rock Ridge extensions allow much longer filenames and |
| 187 |
much deeper directory structures. The Joliet extensions also |
| 188 |
allow longer filenames and deeper directory structures, but |
| 189 |
in an entirely different context (though in most |
| 190 |
circumstances, the Joliet context will mirror the |
| 191 |
ISO9660/Rock Ridge context). The UDF Bridge extensions add |
| 192 |
an entirely parallel UDF context to the ISO as well. Any |
| 193 |
given ISO will always have ISO9660 mode, but may have any |
| 194 |
combination of Rock Ridge, Joliet, and UDF (including none |
| 195 |
of them). Running this command with no arguments prints out |
| 196 |
the current mode. Passing ’iso9660’ as an |
| 197 |
argument sets it to the original ISO9660 mode. Passing |
| 198 |
’rr’ as an argument sets it to Rock Ridge mode. |
| 199 |
Passing ’joliet’ as an argument sets it to |
| 200 |
Joliet mode. Passing ’udf’ as an argument sets |
| 201 |
it to UDF mode.</p> |
| 202 |
|
| 203 |
<table width="100%" border="0" rules="none" frame="void" |
| 204 |
cellspacing="0" cellpadding="0"> |
| 205 |
<tr valign="top" align="left"> |
| 206 |
<td width="11%"></td> |
| 207 |
<td width="6%"> |
| 208 |
|
| 209 |
|
| 210 |
<p><b>quit</b></p></td> |
| 211 |
<td width="5%"></td> |
| 212 |
<td width="44%"> |
| 213 |
|
| 214 |
|
| 215 |
<p>Exit out of pycdlib-explorer.</p></td> |
| 216 |
<td width="34%"> |
| 217 |
</td></tr> |
| 218 |
</table> |
| 219 |
|
| 220 |
<p style="margin-left:11%;"><b>rm_file |
| 221 |
<iso_path></b></p> |
| 222 |
|
| 223 |
<p style="margin-left:22%;">Remove the file named |
| 224 |
<b>iso_path</b> from the ISO. Note that this must be a file; |
| 225 |
to remove a directory, use <b>rmdir</b>.</p> |
| 226 |
|
| 227 |
<p style="margin-left:11%;"><b>rmdir |
| 228 |
<iso_path></b></p> |
| 229 |
|
| 230 |
<p style="margin-left:22%;">Remove the directory named |
| 231 |
<b>iso_path</b> from the ISO. Note that this must be a |
| 232 |
directory; to remove a file, use <b>rm_file</b>.</p> |
| 233 |
|
| 234 |
<table width="100%" border="0" rules="none" frame="void" |
| 235 |
cellspacing="0" cellpadding="0"> |
| 236 |
<tr valign="top" align="left"> |
| 237 |
<td width="11%"></td> |
| 238 |
<td width="6%"> |
| 239 |
|
| 240 |
|
| 241 |
<p><b>tree</b></p></td> |
| 242 |
<td width="5%"></td> |
| 243 |
<td width="78%"> |
| 244 |
|
| 245 |
|
| 246 |
<p>List the contents of the ISO in a tree-like format, |
| 247 |
similar to the bash <b>tree</b> command.</p></td></tr> |
| 248 |
</table> |
| 249 |
|
| 250 |
<p style="margin-left:11%;"><b>write |
| 251 |
<out_file></b></p> |
| 252 |
|
| 253 |
<p style="margin-left:22%;">Write a valid ISO9660 file out |
| 254 |
to <b>out_file</b>, taking into account any changes made |
| 255 |
while running the program. This is also sometimes referred |
| 256 |
to as "mastering" the ISO. Note that the |
| 257 |
<b>out_file</b> must NOT be the same file as the input file, |
| 258 |
or the resulting ISO will not work properly.</p> |
| 259 |
|
| 260 |
<h2>SEE ALSO |
| 261 |
<a name="SEE ALSO"></a> |
| 262 |
</h2> |
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
<p style="margin-left:11%; margin-top: 1em">pycdlib-extract-files(1), |
| 267 |
pycdlib-genisoimage(1)</p> |
| 268 |
|
| 269 |
<h2>AUTHOR |
| 270 |
<a name="AUTHOR"></a> |
| 271 |
</h2> |
| 272 |
|
| 273 |
|
| 274 |
<p style="margin-left:11%; margin-top: 1em">Chris |
| 275 |
Lalancette <[email protected]></p> |
| 276 |
<hr> |
| 277 |
</body> |
| 278 |
</html> |