PTAR - The PaulOS TAR.

This is not to be confused with GNU TAR. It has the same name as it performs the same purpose, but it's output format is NOT compatible with GNU TAR.

The purpose of PTAR to to collate multiple files within one file. It does not perform ANY compression.


Sample PTAR

This sample was created using two HTML files (that make up the root of this website). This is an extremely trivial example, as the output is so small. I have successfully created PTARS up to 640MB.

Hex listing of output file:

ADDR 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15    0123456789ABCDEF

0000 50 54 41 52 50 61 75 6C 4F 53 20 57 65 62 73 69    PTARPaulOS Websi
0010 74 65 20 52 6F 6F 74 20 46 6F 6C 64 65 72 20 20    te Root Folder  
0020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0030 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0050 20 20 20 20 02 00 00 00 43 4F 4E 54 45 4E 54 53        ....CONTENTS
0060 2E 48 54 4D 20 20 20 20 20 20 20 20 20 20 20 20    .HTM            
0070 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0080 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0090 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00A0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00B0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00E0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
00F0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0100 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0130 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0150 20 20 20 20 20 20 20 67 02 00 00 57 01 00 00 49           g...W...I
0160 4E 44 45 58 7E 31 2E 48 54 4D 20 20 20 20 20 20    NDEX~1.HTM      
0170 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0180 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0190 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01A0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01B0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01C0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01D0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01E0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
01F0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0210 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0230 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0240 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
0250 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 06                  g.
0260 00 00 66 00 00 00 3C 62 6F 64 79 20 62 67 63 6F    ..f...<body bgco
0270 6C 6F 72 3D 22 23 66 66 66 66 66 66 22 20 74 65    lor="#ffffff" te
0280 78 74 3D 22 23 30 30 30 30 30 30 22 20 6C 65 66    xt="#000000" lef
0290 74 6D 61 72 67 69 6E 3D 31 3E 0D 0A 3C 62 61 73    tmargin=1>..<bas
02A0 65 20 74 61 72 67 65 74 3D 22 6D 61 69 6E 22 3E    e target="main">
02B0 0D 0A 3C 50 3E 3C 69 3E 4E 61 76 69 67 61 74 69    ..<P><i>Navigati
02C0 6F 6E 3C 2F 69 3E 3C 2F 70 3E 0D 0A 0D 0A 3C 55    on</i></p>....<U
02D0 4C 3E 0D 0A 3C 4C 49 3E 3C 61 20 68 72 65 66 3D    L>..<LI><a href=
02E0 22 6D 61 69 6E 2E 68 74 6D 22 3E 48 6F 6D 65 3C    "main.htm">Home<
02F0 2F 61 3E 0D 0A 3C 6C 69 3E 54 65 63 68 6E 6F 6C    /a>..<li>Technol
0300 6F 67 69 65 73 0D 0A 09 3C 55 4C 3E 0D 0A 09 3C    ogies...<UL>...<
0310 6C 69 3E 3C 61 20 68 72 65 66 3D 22 70 69 6D 67    li><a href="pimg
0320 2F 70 69 6D 67 2E 68 74 6D 22 3E 50 69 6D 67 3C    /pimg.htm">Pimg<
0330 2F 61 3E 0D 0A 09 3C 6C 69 3E 3C 61 20 68 72 65    /a>...<li><a hre
0340 66 3D 22 61 61 2F 61 61 2E 68 74 6D 22 3E 41 6E    f="aa/aa.htm">An
0350 74 69 2D 61 6C 69 61 73 69 6E 67 3C 2F 61 3E 0D    ti-aliasing</a>.
0360 0A 09 3C 6C 69 3E 3C 61 20 68 72 65 66 3D 22 70    ..<li><a href="p
0370 70 65 2F 70 70 65 2E 68 74 6D 22 3E 50 50 45 2F    pe/ppe.htm">PPE/
0380 50 50 43 3C 2F 61 3E 0D 0A 09 3C 6C 69 3E 3C 41    PPC</a>...<li><A
0390 20 68 72 65 66 3D 22 70 74 61 72 2F 70 74 61 72     href="ptar/ptar
03A0 2E 68 74 6D 22 3E 50 54 41 52 3C 2F 61 3E 0D 0A    .htm">PTAR</a>..
03B0 09 3C 2F 75 4C 3E 0D 0A 3C 2F 55 4C 3E 00 00 00    .</uL>..</UL>...
03C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
03D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
03E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
03F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
04F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0510 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0530 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0550 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0570 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
05F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0610 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0630 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0650 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0660 00 00 00 00 00 00 3C 66 72 61 6D 65 73 65 74 20    ......<frameset 
0670 63 6F 6C 73 3D 22 31 35 30 2C 2A 22 3E 0D 0A 09    cols="150,*">...
0680 3C 66 72 61 6D 65 20 73 72 63 3D 22 63 6F 6E 74    <frame src="cont
0690 65 6E 74 73 2E 68 74 6D 22 3E 0D 0A 09 3C 66 72    ents.htm">...<fr
06A0 61 6D 65 20 73 72 63 3D 22 6D 61 69 6E 2E 68 74    ame src="main.ht
06B0 6D 22 20 6E 61 6D 65 3D 22 6D 61 69 6E 22 3E 0D    m" name="main">.
06C0 0A 3C 2F 66 72 61 6D 65 73 65 74 3E 00 00 00 00    .</frameset>....
06D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
06E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
06F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0710 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0730 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0750 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0770 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0790 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
07F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
08F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0910 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0970 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0990 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
09F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
0A60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................