Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 17th December 2011, 10:12 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 889
linuxfirefox
Bash script, ffmpeg batch help needed

Hello and thank you for taking the time to read my post.

I am having issues with a bash script to batch process a folder. The following works fine with simple names:
Code:
for i in *.mp3; do ffmpeg -i $i -vol 500 ${i%.mp3}.mp3; done
But if the name has spaces and special characters like: "13_2 - All The Way (Duet With Frank Sinatra)" the script fails.

So the question is how do I "properly" include all the special characters and spaces in my globular "*.mp3"??


Thank you in advance,

Andrew

Last edited by AndrewSerk; 17th December 2011 at 10:32 PM.
Reply With Quote
 

Tags
bash, batch, ffmpeg, needed, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script Needed! CraigWatson Programming & Packaging 3 3rd September 2010 07:53 PM
[SOLVED] bash script help needed please snoopo71 Using Fedora 4 27th June 2010 01:10 PM
Batch Converting Files with BASH Starclopsofish Using Fedora 1 10th February 2009 12:00 PM
ffmpeg shell script help HaydnH Using Fedora 2 18th October 2007 04:05 PM
Convert bash script to perl script homey Programming & Packaging 1 2nd September 2006 04:24 AM


Current GMT-time: 09:54 (Thursday, 17-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat