Results 1 to 3 of 3

Thread: Add songs from sub-folders recursively to Totem using terminal

  1. #1
    Join Date
    Jan 2011
    Beans
    17

    Add songs from sub-folders recursively to Totem using terminal

    Hi everyone,

    I hope I put this question in the right section. (It's my first post on this forum).

    This is my problem, I want to add many songs to my Totem (movie player) playlist. These songs are in different sub-folders and it's pretty long to open every single folder to add them to Totem.

    I currently know how to use the terminal to put all the mp3 files in the playlist using this syntax :

    Code:
    totem *.mp3
    or
    Code:
    totem --enqueue *.mp3
    Is there a way to say "totem -r *.mp3" and it will take all the .mp3 that are in the sub-folders from the current location?

  2. #2
    Join Date
    Jun 2008
    Beans
    11

    Re: Add songs from sub-folders recursively to Totem using terminal

    Try this? I find it helpful if totem is already running, so the call to totem here doesn't steal my terminal. I usually start totem from F2.
    Code:
    find . -iname \*.mp3 -print0 | xargs --null totem --enqueue

  3. #3
    Join Date
    Jan 2011
    Beans
    17

    Smile Re: Add songs from sub-folders recursively to Totem using terminal

    Thank you, it worked perfectly

    I will make a small script for that so I don't need to type it every time. (I learn how to do those last week at my school)
    Last edited by K-Jtan; October 11th, 2011 at 10:19 PM.

Tags for this Thread

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
  •