but it also still removed it from the actual .iso file within the archive
That cannot be.
BRU cannot change the filename
within the .gz
If the name within the .gz is changing, it is happening outside of BRU, or at least prior to BRU.
- Code: Select all
C:\TMP\SEA\>gzip -v example1.iso
example1.iso: 84.3% -- replaced with example1.iso.gz
C:\TMP\SEA\>gzip -l example1.iso
compressed uncompressed ratio uncompressed_name
1637 10240 84.3% example1.iso
C:\TMP\SEA\>gzip -dv example1.iso
example1.iso.gz: 84.3% -- replaced with example1.iso
C:\TMP\SEA\>gzip -V
gzip 1.3.12
Oh, I see what is happening...
When gzip decompresses the the file, all it does in naming the output, is to drop the .gz extension.
It does not name the file based upon the name of the file as it was originally written & stored within the .gz.
So if you have
example1.iso
You gzip it
example1.iso.gz
You decompress it, gives you
example1.iso
If you have
example1.iso
You gzip it
example1.iso.gz
You RENAME it
testing123.gz
You decompress it, gives you
testing123 - NOT example* anything
All gzip does is to drop the .gz part.
It does not, by default, look at the name as internally written in the .gz (which is in fact, example1.iso).
But...
- Code: Select all
-N, --name save or restore the original name and time stamp
- Code: Select all
gzip -dNv testing123.gz
> testing123.gz: 84.3% -- replaced with example1.iso
So it is a matter of using the switches to get the end results you are expecting.