New command -move

This commit is contained in:
2013-03-13 19:59:18 +00:00
parent 430a519c79
commit 4c819f6dba
9 changed files with 183 additions and 117 deletions

View File

@ -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.2.7, Mar 12, 2013"
@c man .TH XORRISO 1 "Version 1.2.7, Mar 13, 2013"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -1271,7 +1271,7 @@ decides.
Renaming of files has similar collision handling, but directories can only
be replaced, not merged. Note that if the target directory exists, then -mv
inserts the source objects into this directory rather than attempting
to replace it.
to replace it. Command -move, on the other hand, would attempt to replace it.
@c man .PP
@sp 1
The commands in this section alter the ISO image and not the local filesystem.
@ -1773,8 +1773,17 @@ See also the note with command -rm.
@cindex Directory, delete, -rmdir
Delete empty directories.
@c man .TP
@item -move iso_rr_path iso_rr_path
@kindex -mv renames single file in ISO image
@cindex Rename, in ISO image, -move
Rename the file given by the first (origin) iso_rr_path to the second
(destination) iso_rr_path.
Deviate from rules of shell command mv by not moving the origin file underneath
an existing destination directory. The origin file will rather replace such a
directory, if this is allowed by command -overwrite.
@c man .TP
@item -mv iso_rr_path [***] iso_rr_path
@kindex -mv renames file in ISO image
@kindex -mv renames files in ISO image
@cindex Rename, in ISO image, -mv
Rename the given file objects in the ISO tree to the last
parameter in the list. Use the same rules as with shell command mv.