Added linux snippet to uncompress all tar.gz files in the current directory to another directory.

This commit is contained in:
Donne Martin 2015-02-28 12:38:52 -05:00
parent d28c32b8da
commit a2191d03bd

View File

@ -205,6 +205,30 @@
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Compression"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Uncompress all tar.gz in current directory to another directory"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"for i in *.tar.gz; do echo working on $i; tar xvzf $i -C directory/ ; done"
],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}