User Tools

Site Tools


bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bash [2023/02/14 06:07] – created - external edit 127.0.0.1bash [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-=== 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