Added new action "compare" to -find
This commit is contained in:
@ -140,7 +140,7 @@ useful to store intermediate states and to continue with image manipulations.
|
||||
.B Media types and states:
|
||||
There are two families of media in the MMC standard:
|
||||
.br
|
||||
\fBMulti-session\fR media are CD-R, CD-RW, DVD-R, DVD+R, and
|
||||
\fBMulti-session\fR media are CD-R, CD-RW, DVD-R, DVD+R, DVD+R/DL, and
|
||||
unformatted DVD-RW. These media provide a table of content which
|
||||
describes their existing sessions.
|
||||
.br
|
||||
@ -694,6 +694,13 @@ E.g.:
|
||||
.br
|
||||
-find / -exec lsdl
|
||||
.br
|
||||
"compare" performs command -compare with the found file address as iso_rr_path
|
||||
and the corresponding file address below its argument disk_path_start. For this
|
||||
the iso_rr_path of the -find command gets replaced by the disk_path_start.
|
||||
E.g.:
|
||||
.br
|
||||
-find / -exec compare /home/thomas
|
||||
.br
|
||||
"find" performs another run of -find on the matching file address. It accepts
|
||||
the same params as -find, except iso_rr_path.
|
||||
E.g.:
|
||||
@ -1251,11 +1258,13 @@ always perform action "echo".
|
||||
.TP
|
||||
\fB\-compare\fR disk_path iso_rr_path
|
||||
Compare attributes and eventual data file content of a fileobject in the
|
||||
local filesystem with a file object in the ISO image. That iso_rr_path may
|
||||
well point to a image file object which is not yet committed, i.e. of which
|
||||
local filesystem with a file object in the ISO image. The iso_rr_path may
|
||||
well point to an image file object which is not yet committed, i.e. of which
|
||||
the data content still resides in the local filesystem. Such data content is
|
||||
prone to externally caused changes.
|
||||
.br
|
||||
If iso_rr_path is empty then disk_path is used as path in the ISO image too.
|
||||
.br
|
||||
Differing attributes are reported in detail, differing content is summarized.
|
||||
Both to the result channel. In case of no differences no result lines are
|
||||
emitted.
|
||||
|
Reference in New Issue
Block a user