Skip to content

Instantly share code, notes, and snippets.

@Kitsunetic
Created October 7, 2020 05:26
Show Gist options
  • Save Kitsunetic/261efd78fc0155622fcf38ed41c63500 to your computer and use it in GitHub Desktop.
Save Kitsunetic/261efd78fc0155622fcf38ed41c63500 to your computer and use it in GitHub Desktop.

Revisions

  1. Kitsunetic created this gist Oct 7, 2020.
    3 changes: 3 additions & 0 deletions xargs.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ```bash
    find *.zip -exec sh -c 'echo $1 | cut -f 1 -d '.'' _ {} \; | xargs -L 1 sh -c 'mkdir $1; unzip $1.zip -d $1' _
    ```