Skip to content

Instantly share code, notes, and snippets.

@tcollins
Created September 7, 2017 14:57
Show Gist options
  • Select an option

  • Save tcollins/2bd14bbfac8093eea123f969c3796d85 to your computer and use it in GitHub Desktop.

Select an option

Save tcollins/2bd14bbfac8093eea123f969c3796d85 to your computer and use it in GitHub Desktop.

Revisions

  1. tcollins created this gist Sep 7, 2017.
    9 changes: 9 additions & 0 deletions unzip-many-to-dir.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    FILES=zips/*.zip
    for f in $FILES
    do

    DIRNAME=`basename $f .zip`
    mkdir $DIRNAME
    unzip $f -d $DIRNAME

    done