Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar and long file names (100 char)

Status
Not open for further replies.

notb

Programmer
Sep 14, 2006
6
0
0
US
Hi,

Does anyone know if the version of 'tar' that comes with AIX 5.3 can support file names longer than 100 characters?

I'm creating a tarball on a Windows system through ANT and some of the path/filenames are longer than 100 char. The Gnu compliant ANT tar allows you to support long paths. But when untar'ing on AIX, long paths appear to be truncated. You can imagine the consequences.

In the 'tar' man page, there is a reference to 100 char, but I don't understand it:

"The tar command looks for archives on the default device (usually tape), unless you specify another device with the -f Archive flag. When specifying path names that are greater than 100 characters for the United States Tape Archiver (USTAR) format, remember that the path name is composed of a prefix buffer, a / (slash), and a name buffer."

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top