Skip to content

Instantly share code, notes, and snippets.

@peterwang
Created April 29, 2015 11:44
Show Gist options
  • Save peterwang/a0f3714365d46bc7a105 to your computer and use it in GitHub Desktop.
Save peterwang/a0f3714365d46bc7a105 to your computer and use it in GitHub Desktop.
cd com.supercell.hayday_1.23.250/assets/data;
for f in *.csv ; do (dd if=$f bs=1 count=9 2>/dev/null; echo -ne "\x00\x00\x00\x00"; dd if=$f skip=9 bs=1 2>/dev/null;) | lzcat > $f.new.csv; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment