summaryrefslogtreecommitdiffstats
path: root/programs/lz4cli.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #252 from inikep/devYann Collet2016-11-041-20/+44
|\ | | | | Dev
| * updated lz4cli.cPrzemyslaw Skibinski2016-11-041-7/+6
| |
| * added -r optionPrzemyslaw Skibinski2016-11-041-13/+38
| |
* | Return error if input file does not exist.Nick Terrell2016-11-041-2/+2
|/ | | | Make `lz4 file-does-not-exist` return non-zero.
* Rename passThrough to testModeNick Terrell2016-11-041-1/+1
|
* Fix test mode and write to nullNick Terrell2016-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix test mode to not always return success. Don't ask for permission to overwrite `nulmark`. Before: > echo "hello world" > file > lz4 -t file successfully decoded 12 bytes > lz4 -tf file successfully decoded 12 bytes > lz4 file null Warning : /dev/null already exists Overwrite ? (Y/n) : n Error 12 : No. Operation aborted : /dev/null already exists > lz4 file /dev/null Warning : /dev/null already exists Overwrite ? (Y/n) : n Error 12 : No. Operation aborted : /dev/null already exists After: > lz4 -t file Error 44 : Unrecognized header : file cannot be decoded > lz4 -tf file Error 44 : Unrecognized header : file cannot be decoded > lz4 file null Compressed 12 bytes into 31 bytes ==> 258.33% > lz4 file /dev/null Compressed 12 bytes into 31 bytes ==> 258.33%
* updated links to LZ4 repositoryPrzemyslaw Skibinski2016-11-031-1/+1
|
* Merge remote-tracking branch 'refs/remotes/Cyan4973/dev' into devinikep2016-09-031-41/+28
|\ | | | | | | | | # Conflicts: # programs/Makefile
| * fuzzer depends on standard C time.h onlyYann Collet2016-09-031-1/+1
| |
| * lz4cli version number from lz4.hYann Collet2016-09-031-41/+28
| |
* | update IncludePathinikep2016-09-021-3/+0
|/
* -b# and -e# options from zstdinikep2016-09-021-11/+29
|
* fix mingw64 compilation warningsinikep2016-09-021-1/+1
|
* request POSIX.2001 definitions for fileno()Georg Sauthoff2016-08-271-1/+2
| | | | | | | | | | | | | this also fixes compilation on Solaris 10 cf. feature_test_macros(7) Linux man page: > _POSIX_SOURCE > Defining this obsolete macro with any value is equivalent to defin‐ > ing _POSIX_C_SOURCE with the value 1. > > Since this macro is obsolete, its usage is generally not documented > when discussing feature test macro requirements in the man pages.
* minor refactoring (coding style)Yann Collet2016-06-291-49/+30
|
* lz4cli: print library versionJohn Zhuge2016-04-011-2/+5
|
* Tweak error messageDaniel Colascione2015-09-031-1/+1
|
* Improve error messages for attempted console IODaniel Colascione2015-09-031-2/+10
|
* updated cli helpYann Collet2015-08-201-30/+40
|
* lz4cli : add one malloc testYann Collet2015-06-291-0/+1
|
* staticAnalyze use same compilation flags as normal buildYann Collet2015-06-271-5/+6
|
* Minor doc clarification on sparse mode supportYann Collet2015-06-221-1/+1
|
* Merge pull request #114 from lpsantil/djgppYann Collet2015-05-281-0/+5
|\ | | | | Djgpp
| * Fixup programs/{Makefile,lz4cli.c,lz4io.c} to build with Andrew Wu's ↵Louis P. Santillan2015-05-261-0/+5
| | | | | | | | build-djgpp cross compilers. Add some documentation in README.DJ
* | Fixed : default sparse mode disabled on stdout, to support ` >>` ↵Yann Collet2015-05-251-1/+1
| | | | | | | | redirection scenario reported by Takayuki Matsuoka (#110)
* | Fixed sparse issue with non seekable streams (#105)Yann Collet2015-05-181-1/+1
|/
* Added compilation flag -Wcast-qualYann Collet2015-05-061-1/+1
|
* Sparse file support is now enabled by defaultYann Collet2015-04-171-1/+1
|
* Removed status notification in multiple-files modeYann Collet2015-04-161-2/+3
|
* minor compatibility fixesYann Collet2015-04-131-6/+8
|
* Merge pull request #86 from KyleJHarper/origin/r129/multiple_inputs_patchYann Collet2015-04-131-14/+22
|\ | | | | Origin/r129/multiple inputs patch
| * Added support for continuation of file compression and decompression if ↵Kyle J Harper2015-04-121-3/+5
| | | | | | | | input files are missing. Should more closely match gzip/bzip2/xz and so forth. Also removed a debug print accidentally left in.
| * Added new LZ4IO_decompressMultipleFilenames to allow decompression of ↵Kyle J Harper2015-04-121-13/+19
| | | | | | | | multiple files with the -m switch added in r128 (ref: google code issue 151). Limitation: will only process files matching LZ4_EXTENSION macro, which for now seems reasonable.
* | Fixed : a few minor coverity warningsYann Collet2015-04-121-1/+1
| |
* | Fixed a few warnings from -fsanitize=undefinedYann Collet2015-04-091-3/+7
| |
* | fixed over-cautious visual warningYann Collet2015-04-081-1/+1
| |
* | minor memory leak fix and testYann Collet2015-04-081-1/+6
| |
* | Cygwin has fileno, so there's no need to use _fileno.mauro.persano2015-04-011-1/+1
|/
* Updated long commands, with reverse "--no-" variantsYann Collet2015-03-231-10/+14
|
* lz4 cli supports frame content sizeYann Collet2015-03-231-1/+1
|
* Updates tests & Man pagesYann Collet2015-03-221-5/+16
|
* new long commandsYann Collet2015-03-211-24/+21
|
* removed -s command from lz4c specific list of legacy commandsYann Collet2015-03-151-2/+0
|
* Added : unlz4 symbolic link to "lz4 -d"Yann Collet2015-03-151-0/+2
|
* Improved sparse file supportYann Collet2015-03-131-1/+1
|
* Preliminary support for sparse filesYann Collet2015-03-111-0/+4
|
* g++ compatibilityYann Collet2015-03-101-23/+6
|
* Merge pull request #54 from t-mat/gc-issue/155Yann Collet2015-03-081-0/+17
|\ | | | | Gc issue/155
| * Google Code Issue 155: lz4 cli should support sparse fileTakayuki MATSUOKA2015-03-021-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://code.google.com/p/lz4/issues/detail?id=155 This is experimental implementation. Just a proof of concept. It works Linux and Windows. # Build To build experimental version, define 'LZ4IO_ENABLE_SPARSE_FILE' like the following command : make lz4programs 'CFLAGS=-O3 -DLZ4IO_ENABLE_SPARSE_FILE=1' ./programs/lz4 -h You will see "EXPERIMENTAL_SPARSE_FILE" as lz4 revision : "*** LZ4 command line interface 64-bits EXPERIMENTAL_SPARSE_FILE, by Yann Collet (...) ***" # Experiment This experimental version adds option "-x" for sparse file for decompression. You can use this option like this : ./programs/lz4 -9 -f my-file ./programs/lz4 -d -f -x my-file.lz4 my-file.lz4.out cmp my-file my-file.lz4.out
* | Updated : compress multiple filesYann Collet2015-03-071-85/+82
| |