chop-dbhi / data-models-packer

A packer and unpacker of CSV files adhering to the chop-dbhi/data-models specification.
0 stars 1 forks source link

Doesn't like to unpack .tgz files #8

Open murphyke opened 8 years ago

murphyke commented 8 years ago
$ data-models-packer PEDSNET.tgz 
2016/01/27 11:59:06 packer: configuration error: unexpected file extension: tgz

$ data-models-packer -comp .tar.gz PEDSNET.tgz 
2016/01/27 11:59:45 packer: configuration error: unexpected file extension: tgz
gracebrownecodes commented 8 years ago

I see two desired changes here:

  1. interpret .tgz ending automatically.
  2. allow the -comp flag to override the file extension.

Do you agree?

murphyke commented 8 years ago

Yes