[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar(1) problem with long file names.



Hannah Schroeter <hannah_(_at_)_schlund_(_dot_)_de> wrote:

> Use a more apt data format in your use case. Ehm correcting myself:
> According to pax(1), 100 is the limit for pathnames in the old tar
> format, while the limit for ustar is 250. For *pathnames*!.
> 
> Perhaps you can use cpio (or pax with -x cpio).

Actually, it's the SVR4 cpio format ("sv4cpio" or the variant
"sv4crc") you want.  1024-char file/path names, 32-bit inode and
device numbers, and even reasonably portable.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de