How to make a tarball?

James Tyrer jrtyrer at earthlink.net
Wed Oct 14 16:23:35 BST 2009


Patrick Nagel wrote:
> Hi James,
> 
> On 2009-10-13 20:33 UTC James Tyrer wrote:
>> Patrick Nagel wrote:
>>> When I right-click on a directory or (a selection of multiple)
>>> file(s), I have a 'Compress' sub-menu in which I can choose 'As
>>> ZIP/TAR Archive',
>> Note the missing 'G'; should be "GZIP/TAR" or "GZ/TAR" or "TAR.GZ".
> 
> I agree. I would vote for 'TAR.GZ' or 'tar.gz'...
> 
>> And, "Here" is redundant and an option for TAR.BZ is missing as well
>>  as that new ZIP format (which I did install).
> 
> Yes, "Here" just does create a tar.gz for me. A useless menu entry.
> 'TAR.BZ2' or 'tar.bz2' would be a good enhancement, I agree.
> What do you mean by "that new ZIP format"? I have 'ZIP' in the list, and 
> it creates a ZIP (as in PK Zip) archive.
> 
>>> which creates a tar.gz archive. I think you have to
>>> have Ark installed for this to work.
>> Have you tried this?  Did it work.
> 
> Yes, it works perfectly here (Gentoo packages, KDE 4.3.2).
> 
Note that I didn't know that there was a problem till I checked the 
resulting TAR.GZ file with Ark.  Your output below shows that 
directories were added back to "/".  So, you would need to open the 
result in Ark to see if it worked correctly.

>> When I click that on the directory "Page-323", I get this file which
>>  is nor correct and can not be un-tarred:
>>
>> http://home.earthlink.net/~tyrerj/kde/KDE-4/Page-323.tar.gz
>>
>> yet another small thing that doesn't work?
> 
> I just downloaded your file and could un-'tar -xzf' it without a problem 
> (there was a message from tar though, that I don't get often). See my 
> shell session:
> 
> -----
> pn ~/temp/test $ ls -l
> total 120
> -rw-r--r-- 1 pn pn 115178 2009-10-14 12:45 Page-323.tar.gz
> pn ~/temp/test $ tar -xzf Page-323.tar.gz
> tar: Removing leading `../../' from member names
> pn ~/temp/test $ ls -lR
> .:
> total 124
> drwxr-xr-x 3 pn pn   4096 2009-10-14 12:53 Desktop
> -rw-r--r-- 1 pn pn 115178 2009-10-14 12:45 Page-323.tar.gz
> 
> ./Desktop:
> total 4
> drwxr-xr-x 3 pn pn 4096 2009-10-14 12:53 Work
> 
> ./Desktop/Work:
> total 4
> drwxr-xr-x 2 pn pn 4096 2009-10-13 07:23 Page-323
> 
> ./Desktop/Work/Page-323:
> total 128
> -rw-r--r-- 1 pn pn 83405 2009-10-13 06:55 323a-1-med.png
> -rw-r--r-- 1 pn pn 27097 2009-10-13 06:57 323a-1-thumb.png
> -rw-r--r-- 1 pn pn  6494 2009-10-13 07:22 index.html
> -rw-r--r-- 1 pn pn   431 2009-10-13 06:29 logo_002.gif
> ------
> 
-- 
James Tyrer

Linux (mostly) From Scratch
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list