Results 1 to 8 of 8

Thread: How to change mass groups of filenames of mp3's?

  1. #1
    Join Date
    Jan 2007
    Location
    Amsterdam, Nederland
    Beans
    816
    Distro
    Ubuntu Development Release

    How to change mass groups of filenames of mp3's?

    Hello,

    I recently switched from xmms to Audacious for my music playing. It is a little better than xmms, but Audacious has one drawback. It doesn't play mp3's which have an '&' sign in the filename. Now I need to edit all my mp3's names to change '&' to 'and'.

    How would I be able to do that?

  2. #2
    Join Date
    May 2005
    Location
    Lyon, France
    Beans
    916
    Distro
    Ubuntu Development Release

    Re: How to change mass groups of filenames of mp3's?

    for i in *.mp3; do mv "$i" "${i//&/and}"; done

  3. #3
    Join Date
    Jan 2007
    Location
    Amsterdam, Nederland
    Beans
    816
    Distro
    Ubuntu Development Release

    Re: How to change mass groups of filenames of mp3's?

    Sorry. That's a bit too fast.

    Ehm. I guess this is with the command line. So I need to 'cd' to the folder and than use that line?

  4. #4
    Join Date
    May 2005
    Location
    Lyon, France
    Beans
    916
    Distro
    Ubuntu Development Release

    Re: How to change mass groups of filenames of mp3's?

    yes or if your music is in the /home/$USER/Music folder you could also:

    for i in $(find ~/Music -name *.mp3); do mv "$i" "${i//&/and}"; done

  5. #5
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to change mass groups of filenames of mp3's?

    Quote Originally Posted by kramer65 View Post
    Audacious has one drawback. It doesn't play mp3's which have an '&' sign in the filename.
    didn't know that. that's some oversight on the devs part!

  6. #6
    Join Date
    Feb 2007
    Location
    South Australia
    Beans
    136
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: How to change mass groups of filenames of mp3's?

    Quote Originally Posted by logos34 View Post
    didn't know that. that's some oversight on the devs part!
    Wow, news to me to. I try to avoid any non alphanumeric characters in filenames as a general rule tho.

    Some programs in the "Add/Remove Applications" that do mass/batch file renaming:
    KRename
    GwenRename
    Bulk Rename
    Purrr
    PrefixSuffix

    Hope that helps
    Last edited by jay019; June 27th, 2008 at 01:46 PM. Reason: Actually added some software suggestions
    Ubuntu 7.04 on Toshiba Satellite M110/L00.
    http://www.myspace.com/dnb_jay019 - http://jay019.com/

  7. #7
    Inxsible's Avatar
    Inxsible is offline Badabing Badabang Badaboom...Sucker!
    Join Date
    Feb 2006
    Beans
    4,996

    Re: How to change mass groups of filenames of mp3's?

    install EasyTag. its in the repos..

    you can not only change filenames but also edit id3v tags using it.
    Shed that weight!! -- Apps | Window Managers

    Arch + i3 (tty1) Arch + wmfs (tty2)

  8. #8
    Join Date
    Jan 2007
    Location
    Amsterdam, Nederland
    Beans
    816
    Distro
    Ubuntu Development Release

    Re: How to change mass groups of filenames of mp3's?

    Great!

    The command line thingy worked perfect!

    All the programs will come in handy as well!

    Thanks for all the tips!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •