File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ require.
50
50
Show the contents of the current working directory. The format of the output is:
51
51
TYPE(F=file, D=directory) NAME.
52
52
.TP
53
+ .B "modify_file_in_place <iso_path> <src_filename>"
54
+ Replace the contents of the file referred to in \fB iso_path \fR with the contents
55
+ from \fB src_filename \fR .
56
+ Warning: This command modifies the opened ISO file in-place.
57
+ Also, the \fB src_filename \fR must occupy the same number of extents (2048-byte blocks) as the original file.
58
+ .TP
53
59
.B "mkdir <iso_path> [rr_name=<rr_name>] [joliet_path=<joliet_path>]"
54
60
Make a new directory called \fB iso_path \fR .
55
61
If the ISO is a Rock Ridge ISO, \fB rr_name \fR must be specified; otherwise, it must not be.
Original file line number Diff line number Diff line change @@ -401,7 +401,6 @@ class PyCdlibCmdLoop(cmd.Cmd):
401
401
print ('> modify_file_in_place <iso_path> <src_filename>' )
402
402
print ('Replace the contents of the file within the ISO specified in <iso_path> with that of <src_filename>.' )
403
403
print ('Warning: This command modifies the opened ISO file in-place.' )
404
- print ('You must start %s with the `--read-write` flag to enable this.' % (sys .argv [0 ]))
405
404
print ('<src_filename> must occupy the same number of extents as the original file.' )
406
405
407
406
def do_modify_file_in_place (self , line ):
You can’t perform that action at this time.
0 commit comments