Skip to content

Instantly share code, notes, and snippets.

@3manuek
Created July 14, 2020 17:26
Show Gist options
  • Select an option

  • Save 3manuek/028925d71f72d5ea7f65d6a53d8547e9 to your computer and use it in GitHub Desktop.

Select an option

Save 3manuek/028925d71f72d5ea7f65d6a53d8547e9 to your computer and use it in GitHub Desktop.

Revisions

  1. 3manuek created this gist Jul 14, 2020.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    *** postinstall 2020-07-14 14:25:45.000000000 -0300
    --- postinstall_ori 2020-07-14 14:24:48.000000000 -0300
    ***************
    *** 50,56 ****
    source="$DIRNAME"

    find "$source" -type f \( -name '*.svx' -o -name '*.wav' \) -exec sh -c '
    ! dest="/Library/Application\ Support/Akai/MPC/TheBank"
    source="{}"
    destination="$dest${1%/*}"
    name="{}"
    --- 50,56 ----
    source="$DIRNAME"

    find "$source" -type f \( -name '*.svx' -o -name '*.wav' \) -exec sh -c '
    ! dest="/Library/Application Support/Akai/MPC/TheBank"
    source="{}"
    destination="$dest${1%/*}"
    name="{}"