top | item 33126522

(no title)

mooman219 | 3 years ago

I actually worked on gsutil a while ago! I added in flight compression -J/j. Glad to see gsutil is on its way out.

discuss

order

titanomachy|3 years ago

How did you choose the letter "j"? were all the more obvious ones just taken?

mooman219|3 years ago

The original intention for most of the flags was to keep them aligned with rsync. The feature only compressed the data in flight, as opposed to -Z/z which stored the compressed version. This didn't directly align to anything in rsync, so I picked an unused letter in rsync (-J/j).

In retrospect, it might have had a better home as some option on -Z/z, or if I had the tool figure out if you were bottlenecked on bandwidth, spare compute, and your data compressed well, and apply it automatically.

rwiggins|3 years ago

Maybe the inspiration was `-j` for `tar`, which enables bzip2 compression?