<---- template headericclude ----->
[SOLVED] Bash script, ffmpeg batch help needed
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    894
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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 11:32 PM.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]