Skip to content

Instantly share code, notes, and snippets.

@qdzlug
Forked from cwvhogue/identify_to_csv_manta.sh
Last active August 29, 2015 14:16
Show Gist options
  • Save qdzlug/01904c26d1f9717ff7de to your computer and use it in GitHub Desktop.
Save qdzlug/01904c26d1f9717ff7de to your computer and use it in GitHub Desktop.
cat manta_identify_sorted.txt | \
awk '{print $7 " " $1 " " $3}' | \
sort -n | \
sed -e 's/MB/ MB/' -e 's/KB/ KB/' | \
-e 's/+0+0//' -e 's/x/ /' |
awk '{print $1 ", " $2 ", " $3 ", " $4 ", " $5}' > Getty_Filesizes.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment