Skip to main content

Questions tagged [gunzip]

1 vote
1 answer
84 views

I needed to compress/archive a folder, so I ran the following command: gzip -v --rsyncable --fast -r myFolder/ -c > myFolderArchive.gz ...foolishly thinking this was going to do just what I ...
Undo's user avatar
  • 113
1 vote
2 answers
219 views

I have a folder with 28 gz files with the extension .gz and 28 files with the extension .gz.bam. I would like to unzip all the 28 .gz files and send them to another folder. I was doing one by one as ...
RoyBatty279's user avatar
1 vote
1 answer
1k views

I have a bash script that imports wordpress dbs for me pretty reliably, but one of my sites came from a former wordpress multisite, therefore the database includes DEFINERS within the database that ...
Time-Bandit's user avatar
0 votes
3 answers
2k views

This code was written to extract multiple .tar files to another location and woks fine ls -1 ${short_filename} \ | while read file; do \ tar -zxvf "$file" -C ${pentaho_temp_path}/${...
Wessley's user avatar
  • 21
0 votes
1 answer
473 views

With this command find . -name '*.zip' -exec unzip '{}' ';' we find all zip files under . (directory), then unzip them into the current working directory, However, the structure is gone. /backUp/...
Maxfield's user avatar
  • 171
0 votes
1 answer
121 views

I want to trim the path of the gunzipped tarball so that some "spurious" leading directories are excluded. Let me explain with an example. I have the following directory structure, as ...
Xin's user avatar
  • 3
0 votes
0 answers
349 views

I am trying to execute a simple pipeline which should gunzip a file and send the result to stdout. This is ten piped into a tar command which to my knowledge should append the file I specify. I use a ...
nrmad's user avatar
  • 115
0 votes
2 answers
3k views

I want to do gzip of folder, and also want to retain original timestamp for that folder. Can someone suggest any way around it. i tried below mentioned code. The timestamp which i am getting the time ...
Code-x Go's user avatar

15 30 50 per page