IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Create Batch-Files using the export feature
red_rooster
post Feb 27 2010, 18:39
Post #1


Member


Group: Members
Posts: 4
Joined: 27-February 10
Member No.: 11965
Mp3tag Version: 2.45a



Hi Folks,

I do not know if somebody had already the same idea or if it is very sensible, but I abused the export feature to create Batch-files.
The examples attached to this posting create batch files, that copy selected files to a certain subfolder of the folder the exported batch file has been written to using different data fields to create the sub-folder structure. The batch-file copies the particular mp3-file first to the %temp%-folder before it writes it to the final folder. This is because coping directly form USB-Device to USB-Device takes longer then form and to internal hard disk to USB-device on my system.

The nice thing is that the batch file can be executed after export. Just click yes when "display file now?" is prompted.

These are only examples. The possibilities of other export configurations in this manner should be endless



Attached File(s)
Attached File  bat_copy_dir_album_artist.mte ( 406bytes ) Number of downloads: 211
Attached File  bat_copy_dir_orgdir.mte ( 402bytes ) Number of downloads: 193
Attached File  bat_copy_dir_relative_dir.mte ( 538bytes ) Number of downloads: 172
Attached File  bat_hahn_dir_album_no_CD.mte ( 557bytes ) Number of downloads: 184
 
Go to the top of the page
 
+Quote Post
webazubi
post May 2 2017, 12:43
Post #2


Member


Group: Full Members
Posts: 23
Joined: 29-April 17
Member No.: 23365
Mp3tag Version: 282



Hello.
Thanks für the bats. I use the bat_copy_dir_relative_dir.mte but I don't know, where I have to write the directory where the copied files should go to. Whre do I write %temp%= My folder ??
Go to the top of the page
 
+Quote Post
ohrenkino
post May 2 2017, 19:08
Post #3


Member


Group: Full Members
Posts: 9013
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84a



ZITAT(webazubi @ May 2 2017, 13:43) *
Hello.
Thanks für the bats. I use the bat_copy_dir_relative_dir.mte but I don't know, where I have to write the directory where the copied files should go to. Whre do I write %temp%= My folder ??

you can specify the name for the export data in the dialogue where you select the export script. The data from that dialogue overwrites the specification in the script.

You can use property variables for the filename like %_directory%\%album%.m3u


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post May 3 2017, 16:16
Post #4


Member


Group: Full Members
Posts: 6637
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.84



QUOTE (webazubi @ May 2 2017, 13:43) *
... I use the bat_copy_dir_relative_dir.mte but I don't know, where I have to write the directory where the copied files should go to. ...

After a quick view into the Mp3tag MTE file, which in turn creates a DOS BAT file, I would say you have to adapt the second DOS XCOPY command, because there is the target folder defined.

See also ...
https://forums.mp3tag.de/index.php?showtopi...ost&p=77592

DD.20170503.1726.CEST

This post has been edited by DetlevD: May 3 2017, 16:26


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2017 - 06:11