projects
/
tfcrypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
c0dc561
)
-O ftrunc=tail: trim unused tail after processing actual data.
author
Andrey Rys
<rys@lynxlynx.ru>
Fri, 13 Dec 2019 23:46:30 +0000
(
00:46
+0100)
committer
Andrey Rys
<rys@lynxlynx.ru>
Fri, 13 Dec 2019 23:46:30 +0000
(
00:46
+0100)
This is a hack actually, it's not much useful in everyday life.
It is for compressing files in place, exploiting stream compressors like this:
xz -9c -T 4 < file.tar | tfcrypt -P -O ftrunc=tail - file.tar
, or more safer way (since tfcrypt does not buffer):
tfcrypt -P file.tar | xz -9c -T 4 | tfcrypt -P -O ftrunc=tail - file.tar
No differences found