Skip to content

Instantly share code, notes, and snippets.

@alex-karo
Created October 7, 2016 07:39
Show Gist options
  • Save alex-karo/20a9c45368b2135c6e26d353f77ae90b to your computer and use it in GitHub Desktop.
Save alex-karo/20a9c45368b2135c6e26d353f77ae90b to your computer and use it in GitHub Desktop.

Revisions

  1. alex-karo created this gist Oct 7, 2016.
    4 changes: 4 additions & 0 deletions Bash: true iteration
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    for i in *.mp3; do
    [ -e "$i" ] || continue
    some command "$i"
    done