Tuesday, January 13, 2009
One liner: count the total uncompressed space of a gzipped tarball on HP-UX
gzcat u01.tar.gz tar tvf -
awk '{tot+=$3; print; printf ("total = %10.0f\n", tot);}'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment