Hi Fractal,

1...@mailu.io wrote:
I was trying to compress a folder using tarlz.

I guess you mean you were trying to archive a folder with '-c'. (Tarlz has an option named '--compress').

I used the option '--output=path/to/some/file'
But it seemed like I was getting garbage output in my terminal.

This is because option -f was absent and the archive was being written to standard output (the terminal).

I assumed that is the option for output file .i.e the archive.

Yes, but only when compressing an existing POSIX tar archive with '-z'. Maybe I should make '-o, --output' a synonym for '-f, --file' when creating an archive.

Anyway '--file=<archive>' seems to do the work that I was trying to do.
But then, '--output=<file>' is not clear to me. What does it do?

http://www.nongnu.org/lzip/manual/tarlz_manual.html#Invoking-tarlz
-o file
--output=file
Write the compressed output to file. '-o -' writes the compressed output to standard output. Currently '--output' only works with '--compress'.


Best regards,
Antonio.

Reply via email to