Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

lzip: Can't create output file (Users)

posted by fritz.mueller Homepage, Munich, Germany, 04.01.2024, 23:23

> > > Still not sure what I do wrong. Sorry for so many pictures, but I hope
> > it
> > > clears what I am talking about.
> >
> > I can confirm this behavior on my system for my lzip 1.9 and lzip 1.20
> > ports. :-(
> >
> > -o or --output=file only works when reading
> from
> > stdin, as the help screen says.
> >
> > When reading from a file, lzip always takes the input file name and
> appends
> > .lz.
>
> Wait! It's not completely unusable.
> The solution is already noted above:
>
> Compress: lzip -k -o example < example.exe
> -> This will create example.lz.
>
> Decompress: lzip -k -d -o example2.exe < example.lz
>
> Note the redirection operators <.

Ok, thanks for this information, I will modify the help file, but how do you know a year later that this file was an exe file and not a gif?
Especially if you have a gif and a pdf and an exe file with the same name in the same folder as it is, eg, in vim?

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 224 users online (0 registered, 224 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum