Reputation
698
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 5 8
Newest
 Yearling
Impact
~58k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Jun
29
awarded  Yearling
Apr
8
awarded  Populist
Mar
30
awarded  Good Answer
Mar
1
awarded  Enlightened
Mar
1
comment How to extract only a specific folder from a zipped archive to a given directory?
I don't know what you mean by "akin to zip -r". If you're asking for a way to strip some of the path elements, but not all of the path elements in the names stored in the zip file, then no, unzip does not have a means to do that.
Mar
1
awarded  Nice Answer
Nov
12
comment How to extract only a specific folder from a zipped archive to a given directory?
Use -j for that.
Sep
24
awarded  Autobiographer
Aug
1
awarded  Yearling
Mar
14
comment how to extract .z file from an old QNX in Centos
The output of what? The example file you gave is a complete and correct zlib stream.
Mar
14
answered how to extract .z file from an old QNX in Centos
Oct
18
comment How to extract only a specific folder from a zipped archive to a given directory?
Then the filename was not matched. Do unzip -l xxx.zip to see what's in xxx.zip.
Aug
23
awarded  Nice Answer
May
29
awarded  Yearling
May
14
comment How do I specify arguments to return all dot files, but not . and ..?
On my du, -a cannot be combined with -d. However du -d1 . does the trick. Thanks for that as well.
May
14
awarded  Scholar
May
14
accepted How do I specify arguments to return all dot files, but not . and ..?
May
14
comment How do I specify arguments to return all dot files, but not . and ..?
The du -s -- * .[^.]* ..?* works, and covers odd cases included spaces in the names and dot dot names. And it even works in bash. Thanks!
May
14
comment How do I specify arguments to return all dot files, but not . and ..?
Interestingly, I have tcsh 6.17.00. Indeed, the globdot doesn't work there.
May
14
awarded  Editor