home *** CD-ROM | disk | FTP | other *** search
- Program :
- TARV
-
- Usage :
- TARV tar-mapfile source-dir-of-tar DOS-command
- tar-mapfile := mapfile created by LTAR (See LTAR.DOC)
- source-dir-of-tar := the source directory which tar is extracted
- into.
- DOS-command := the command you want to apply for each file extracted
- from tar. (See LOCATE.DOC's DOS command)
-
- Description :
-
- It is a convenient utility to view (of course, not only to view) or
- apply command for each extracted file. I developed this is to read some U*IX's
- source code (such as GNU and X window) See example for more detail.
-
- Examples:
-
- (1):- TARV x.map . type
- /* suppose we have a tar file x.tar and it's content is:
- x.tar:
- drwxrwxrw- 0/0 0 Jan 27 08:48 1992 t/
- -r-xr-xr-- 0/0 2 Jan 27 08:48 1992 t/ABC
- -r-xr-xr-- 0/0 4 Jan 27 08:49 1992 t/BAC
- -r-xr-xr-- 0/0 4 Jan 27 08:49 1992 t/CBA
- and we `ltar xvf x.tar g x.map' and got a map file x.map, note
- that x.tar is extracted in current directory and x.map is also put
- in currect directory, now we `tarv x.map . type'. You can see a
- scrolled browser, please try the command on the bottom of screen,
- and it is easy to understand.
-
- (2):- Other examples
- TARV f:\temp\x.map c:\x "type $s"
- TARV a:\x.map b:\ "copy $s c:\temp"
- etc.
- you can omit `$s' if the parameter of command is only one.
-