Mail Archives: djgpp/1997/02/01/15:04:08
On Thu, 30 Jan 1997, Gurunandan R Bhat wrote:
> On Thu, 30 Jan 1997, Eli Zaretskii wrote:
> > You should definitely check out DJTAR (it should be in your bin/
> > subdirectory). It has the following features that can help you out:
> aaahhhhhhhhhhhhhh!!!! so we are finally back to what i said ;;;;))))
> yeah, check out djtar. its great
I did.
I appreciate all the info given as to the virtues of DJTAR, but have the
following problems with generating the correct syntax, maybe I don't see the
answer within the info file.
FUNCTION validfile$ (lev AS STRING)
(p.s. lev is the file wanted)
(...)
r$ = validfileex(lev, "c:\c_ref\c_dist_b.tar")
(...)
validfile = r$
END FUNCTION
FUNCTION validfileex$ (lix AS STRING, lox AS STRING)
SHELL "\zip\tar -f " + lox + " -novx " + lix + " >temp.dat"
(...)
END FUNCTION
Where:
-f Specifies the FULL name of the archive, the program will not recognize it
because it has the ability to work with tape drives:
-n To prevent the creation of subdirectories on extract.
-o Prevent Overwrite, the program creates a new, nonconflicting filename for
use with DOS, (usually by adding an extra weird character at the end of the
name, or converting last character to such.)
-v Verbose, see below.
-x eXtract. Obvious, but I like to be complete.
TEMP.DAT is opened and the DOS filename is presented within, TAR reports an
error and informs user that either conflict or filename too long error(s) have
occurred, here's the resulting filename.
DJTAR doesn't seem to operate as such, it extract 'in full' and it appears to
write to stderr, redirection fails.
- Raw text -