Discussion:
Question about mp3's in DOS...
(too old to reply)
Cor
2011-10-11 19:11:51 UTC
Permalink
Hello Folks!

Hans from Holland here. The problem is this (and I would relly appreciate
an answer) I have appr. 55000 mp3 files in one section alone already, called
Loose Files.

My wish is to put them all into their different directories, each by artist
name.

Several times I tries a program to organize the lot, the program promissed
the world, but...... all of them look not only at the name of the file, but
also the TAG. With the result is, that one gets directories like "The best
of.." etc, etc.

I want these files ONLY under artist name, so that when you hev a look at
them using the Windows Explorer, the first thing you see is 26 letter, and
than ech of them with the artist in, that bears the same first letter. Like
in A you get A > Aaliyah - You are that somebody until in Z you reach Z
ZZ Top - What would you do .
Is this possible in DOS? I know it could be a MOVE command, and not a COPY
command, but for the rest???? No idea.

Can anyone help me, please?

Thanks in advance!

Hans
billious
2011-10-12 00:42:32 UTC
Permalink
Post by Cor
Hello Folks!
Hans from Holland here. The problem is this (and I would relly appreciate
an answer) I have appr. 55000 mp3 files in one section alone already,
called Loose Files.
My wish is to put them all into their different directories, each by
artist name.
Several times I tries a program to organize the lot, the program promissed
the world, but...... all of them look not only at the name of the file,
but also the TAG. With the result is, that one gets directories like "The
best of.." etc, etc.
I want these files ONLY under artist name, so that when you hev a look at
them using the Windows Explorer, the first thing you see is 26 letter, and
than ech of them with the artist in, that bears the same first letter.
Like in A you get A > Aaliyah - You are that somebody until in Z you
reach Z
ZZ Top - What would you do .
Is this possible in DOS? I know it could be a MOVE command, and not a COPY
command, but for the rest???? No idea.
Can anyone help me, please?
Thanks in advance!
Hans
I'd suggest that this group is directed towards DOS - real DOS, with its
8.3-format filename restrictions.

Since you're running under a version of Windows, you're more likely to get a
response in alt.msdos.batch.nt

The short answer is "probably." Been done a number of times, so scanning the
history of alt.msdos.batch.nt may reveal a ready-made solution.

To solve the problem however, you'd need to be a little more specific about
the format of your filenames. For instance 'the best of someartist -
someartist.mp3' can be easily processed to the direcory 'someartist' using
the '-' separator.
Todd Vargo
2011-10-12 04:59:22 UTC
Permalink
Post by Cor
Hello Folks!
Hans from Holland here. The problem is this (and I would relly appreciate
an answer) I have appr. 55000 mp3 files in one section alone already,
called Loose Files.
My wish is to put them all into their different directories, each by
artist name.
Several times I tries a program to organize the lot, the program promissed
the world, but...... all of them look not only at the name of the file,
but also the TAG. With the result is, that one gets directories like "The
best of.." etc, etc.
I want these files ONLY under artist name, so that when you hev a look at
them using the Windows Explorer, the first thing you see is 26 letter, and
than ech of them with the artist in, that bears the same first letter.
Like in A you get A > Aaliyah - You are that somebody until in Z you
reach Z
ZZ Top - What would you do .
Is this possible in DOS? I know it could be a MOVE command, and not a COPY
command, but for the rest???? No idea.
This will do what you asked for above. Open a command prompt with the
directory containing the files set as the current directory. Then copy/paste
the following 2 commands at the command prompt (replace ... with the missing
letters of course).

for %a in (A B C ... X Y Z) DO md %a
for %a in (A B C ... X Y Z) DO move %a*.mp3 %a

Loading...