title
Products            Buy            Support Forum            Professional            About            Codec Central
 

[Batch Converter] - Create same folder structure on two main folder "roots"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LuckyLuciano
    dBpoweramp Enthusiast

    • Aug 2012
    • 52

    [Batch Converter] - Create same folder structure on two main folder "roots"

    How do I set Batch Converter to replicate same folder structure, across multiple "roots" when converting?

    Scenario:

    Source folder:
    F:\Music\Library\Archive\ - (This is the root for subfolders (artist/albumname) containing Flacs)

    Target folder:
    F:\Music\Library\Portable\ - (This is the root for subfolders (artist/albumname) containing mp3s)

    Example. Convert from:

    - F:\Music\Library\Archive\Sergey Rachmaninov\Piano Concerto No. 3 (Vladimir Ashkenazy)

    to:

    - F:\Music\Library\Portable\Sergey Rachmaninov\Piano Concerto No. 3 (Vladimir Ashkenazy)

    Facts:
    - Artist name (particularly for classical music) can be different from the artist folder name (tags)
    - Filename may be different from track title

    Maybe you could add a "relative path" field for dynamic names? In the example above would hold
    "Sergey Rachmaninov\Piano Concerto No. 3 (Vladimir Ashkenazy)"
  • garym
    dBpoweramp Guru

    • Nov 2007
    • 5907

    #2
    Re: [Batch Converter] - Create same folder structure on two main folder "roots"

    use this in your dynamic naming within convert:

    click the button next to "dynamic" then enter:

    Folder: F:\Music\Library\Portable\

    string: [TRIMFIRSTFOLDER][origpath]\[origfilename][]

    This should produce the same directory structure as under archive except in portable
    Last edited by garym; October 17, 2012, 04:30 PM.

    Comment

    • garym
      dBpoweramp Guru

      • Nov 2007
      • 5907

      #3
      Re: [Batch Converter] - Create same folder structure on two main folder "roots"

      Originally posted by garym
      use this in your dynamic naming within convert:

      click the button next to "dynamic" then enter:

      Folder: F:\Music\Library\Portable\

      string: [TRIMFIRSTFOLDER][origpath]\[origfilename][]

      This should produce the same directory structure as under archive except in portable
      or play with this a bit. you can use more than one [trimfirstfolder] in the same string. Maybe yours would be:

      [TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath]\origfilename][]

      but something like this will definitely do the trick.

      Comment

      • LuckyLuciano
        dBpoweramp Enthusiast

        • Aug 2012
        • 52

        #4
        Re: [Batch Converter] - Create same folder structure on two main folder "roots"

        Now working, with your suggestions! Thanks a lot

        Comment

        • LuckyLuciano
          dBpoweramp Enthusiast

          • Aug 2012
          • 52

          #5
          Re: [Batch Converter] - Create same folder structure on two main folder "roots"

          Just for the record, given the following "root":

          [SIZE=3]F:\Users\Me\Music\Library\Archive[/SIZE]

          to reproduce the same folder structure in

          [SIZE=3]F:\Users\Me\Music\Library\Portable[/SIZE]

          this was the correct dynamic string:

          [SIZE=3]Library\Portable\[TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][TRIMFIRSTFOLDER][origpath]\[origfilename][][][][][][/SIZE]

          Comment

          Working...

          ]]>