Pradeeplogme / s3-bash

Automatically exported from code.google.com/p/s3-bash
Other
0 stars 0 forks source link

Sometimes ls returns the keySize in different column #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I was able to get around this by using wc instead

local keySize="$(wc -c "$originalKeyFile" | awk '{ print $1 }')"

Original issue reported on code.google.com by chp...@gmail.com on 10 Apr 2009 at 12:59