home *** CD-ROM | disk | FTP | other *** search
-
-
- LTAR ( long TAR )
-
- (1) view - no difference from UNIX's style.
-
- C> ltar tvf yourTar.tar ! detail list form
- C> ltar tf yourTar.tar ! brief list form
-
- (2) extract - provides special filename converting method.
-
- C> ltar xf yourTar.tar g yourTar.map
- g is a new option and tell LTAR to create a filename mapping file
- between your original UNIX's files and DOS's extracted file.
- C> ltar xtf yourTar.tar g yourTar.map
- same as above but with brief messages.
- C> ltar xvf yourTar.tar g yourTar.map
- samw as above but with a detail messages.
-
- N.B. you can type mapping file since it is just a text file.
-
- (3) to solve the problem of filename converting.
-
- Let's suppose you have a TAR file to extract but a file in it:
- This.is.a.very/long.UNIX.filename/and.How.can.I/solve.such.long.file/Huh
- As we know, DOS only accept 62 chars in its full path, and I convert
- such name via a special mapping to avoid identical name:
- Thisisav.XXX/longUNIX.XXX/andHowca.XXX/solvesuc.XXX/Huh.XXX
-
- N.B. where XXX are 3 hexidecimal digits. (type your mapfile)
-
- as you see, I extracted 8 letters in each segment of path but it still
- had 'FILENAME TO LONG' problem. How can I do?
-
- Try this:
- C> ltar xtf yourTar.tar g yourTar.map 1 <- note here!!!
- That's it. To modify the length of path-converting, it now is:
- T.XXX/l.XXX/a.XXX/s.XXX/Huh.XXX
- I don't want filename to be truncated, so Huh is still
- Huh.XXX.
-
- (4) compatible with UNIX filelink.
-
- UNIX support filelink (see UNIX manual). I only copy the target filename
- as the content of the linked file, you can type the file content to
- know how I accomplish this.
-
- (5) f and g option are all support DOS full file path & name.
-
- That's all for LTAR.
-
-
-
- TARV (TAR viewer)
-
- (1) view.
- Suppose your TAR file is extracted under the directory: C:\mytar.
- and your mapping file is C:\tarmap\mytar.map, and you want to view
- files by EDIT (DOS 5's editor).
-
- C>tarv c:\tarmap\mytar.map c:\mytar edit
-
- Then you can see a shell-like interface, use number-keypad to scroll
- the table, use Enter to apply the target file to the command EDIT,
- or course you can reenter the DOS command you like, such as TYPE,
- DIR, etc. I only apply the command in the following format:
-
- YourDOSCommand TargetFile (for instance: EDIT Target.XXX)
-
- That's all for TARV.
-
- These files are freely to copy, distribute, or embed in your application,
- you can also study TAR's format...
-
- Regards,
- Anthony Li
-
- <<<<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>>>
- >>> Anthony Li <Li3, Shih4 Hao2><Li:fruit's Name><Shih:Scholar><Hao:Hero> <<<
- <<< Institute of CSEE, National Central Univ, Chungli, Taoyuan, Taiwan, ROC >>>
- <<< Bitnet: U230700@twncu865.bitnet <<<
- >>> Internet: U230700@ncu865.ncu.edu.tw cs805023@ncuee.ncu.edu.tw >>>
- <<< oper2@ncuee.ncu.edu.tw csee8001@sparc4.ncu.edu.tw <<<
- >>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><<<<
-