View Single Post
  #8   (View Single Post)  
Old 22nd September 2022
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 467
Default

And if the variables are properly quoted then the spaces don't have to be replaced with underscores:
Code:
for X in *.mp4; do ffmpeg -i "$X" "${X%.mp4}.mp3"; done
Reply With Quote