User Tools

Site Tools


bash

This is an old revision of the document!


loop over files by type

  for i in in *.webm
  do
      echo $i
  done

will echo those files. be aware that you're probably going to want to enclose $i in quotes, e.g.:

  for i in *.webm
  do
      ffmpeg -i "$i" "$i.ogg"
  done
bash.1676354858.txt.gz ยท Last modified: by 127.0.0.1