Mail Archives: djgpp/1996/04/18/14:32:29
On Thu, 18 Apr 1996, Eli Zaretskii wrote:
>
> On 16 Apr 1996, David R. Paoletti wrote:
>
> > Still have a few questions though. What exactly do I do
> > about the long unix filenames under DOS? I couldn't even
> > extract the tar files for gcc and binutils on my PC due
> > to long and invalid filenames.
>
> Use the `djtar' program which comes with DJGPP v2 (if you got version of
> DJGPP prior to v2.0, toss it and get v2). This program will convert many
> filenames too long for DOS automatically, and for those that it cannot it
> will ask you to provide a name legal under DOS. It will also create a
> file that lists all the filename conversions it did. Djtar unzips the
> .tar.gz file on-the-fly, so you don't need twice the disk space while
> running gunzip piped to tar.
>
> Djtar is documented in the utils.inf Info file.
>
Sometimes two long file names will truncate according to the rules to the
same file name. It is useful to prepare in advance by editing a change
file. Use the -tvf option to tar and direct the output to a file. Edit
the file, adding new file names to the line which has the long file name.
Ex:
fileutilities-312\ChangeLog<tab>fileutil.312\change.log
Don't forget directory names. Delete all lines which can be passed
unchanged. djtar.exe has an option for reading this file and making the
indicated changes to file names.
Frank
- Raw text -