Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 22142

Shrinking (compressing) and restoring (decompressing) of data.

4
votes
You could do something like for f in ./* do gzip -cdfq "$f" > "${f}".some_ext done This processes all files (even the uncompressed ones, via -f) and writes (via -c) the output to stdout using red …
answered Dec 22 '16 by don_crissti
66
votes
There's a lot of confusion here because there isn't just one zgrep. I have two versions on my system, zgrep from gzip and zgrep from zutils. The former is just a wrapper script that calls gzip -cdfq. …
answered Mar 3 '15 by don_crissti
1
vote
With gnu tar you could use: --transform=EXPRESSION, --xform=EXPRESSION Use sed replace EXPRESSION to transform file names. which means --xform='s|path/to/||' would remove path/to/ from the pa …
answered Mar 1 '15 by don_crissti