Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: new extension for talkbox directory clip: ".dirname.tbx"
From: Glenn Ervin at Home (GlennErvin_at_cableone.net)
Date: 2004-04-11


Hi Aman,
I have used DOS for about 15 years, and I have used nearly every DOS command
there is, and that is why I was surprised to hear about the quotes.
But in earlier versions of DOS, before windows, perhaps we did not need to
use quotes, as file names were always 8.3 files.
So needless to say, I understand about the same names in the same folder.
I think what you are not understanding is that I have never used a word in
my naming of files such as dirname.
I interpret dirname to mean the name of the folder plus dot MP3.
So wildcards should work, as I am not expecting the same names to occur, in
fact I expect the names of the previous files to be kept.
Also, as an example, here's what I just did and this worked:
ren *.MP3 *.TBX
And this renamed all of my MP3 files to TBX files of the same names, which
happen to be the same as the folders in the same directory.
Glenn
----- Original Message -----
From: "Aman Singer" <aman_at_asinger.net>
To: "'Glenn Ervin at Home'" <GlennErvin_at_cableone.net>
Sent: Saturday, April 10, 2004 8:22 PM
Subject: RE: new extension for talkbox directory clip: ".dirname.tbx"

Hi, Glenn.
You can certainly use the ren command with wildcards. What you can't
do is have several files with the same name in the same directory. That is,
let's say I had
audio books.mp3
music.mp3
radio.mp3
in the same directory. I can't say
ren *.mp3 .dirname.mp3
What would happen is
audio books.mp3 would be renamed .dirname.mp3. When DOS went to
music.mp3, it would say "can't rename, .dirname.mp3 already exists" and that
would be that.
I'm still confused about why you want to put periods in front of all
your file names. You don't need to, in that the only file that needs a
period in any folder is the .dirname.mp3 file.
Aman

-----Original Message-----
From: Glenn Ervin at Home [mailto:GlennErvin_at_cableone.net]
Sent: Saturday, April 10, 2004 8:57 PM
To: Aman Singer
Subject: Re: new extension for talkbox directory clip: ".dirname.tbx"

No Aman,
the ren command works in the folder you are in, so it should rename files
using wildcard characters.
I have always used wildcard characters in renaming files, but just never
with a dot in front.
Glenn
----- Original Message -----
From: "Aman Singer" <aman_at_asinger.net>
To: "'Glenn Ervin at Home'" <GlennErvin_at_cableone.net>; "'Rockbox
development'" <rockbox_at_cool.haxx.se>
Sent: Saturday, April 10, 2004 7:44 PM
Subject: RE: new extension for talkbox directory clip: ".dirname.tbx"

Hi, Glenn.
Again, I'm a bit lost on why you'd want to do this. If you use the
script to generate the names, you wouldn't need to do this. In any case,
though, even if the period were removed, and you tried
ren *.mp3 dirname.mp3
it wouldn't work, since the file system would only rename the first
mp3 file to dirname.mp3. At that point, it would see multiple dirname.mp3s
and stop renaming anything.
Aman

-----Original Message-----
From: rockbox-bounces_at_cool.haxx.se [mailto:rockbox-bounces_at_cool.haxx.se] On
Behalf Of Glenn Ervin at Home
Sent: Saturday, April 10, 2004 7:53 PM
To: Rockbox development
Subject: Re: new extension for talkbox directory clip: ".dirname.tbx"

Yes, I think that the dot causes problems, as I tried the following:
ren *.mp3 .*.mp3
and it renamed all my folder MP3 files with a period in front, but it left
off the first letter of each folder.
Glenn

----- Original Message -----
From: "scott" <die_pokemon_die123_at_yahoo.com>
To: <Gajdos_at_metatem.net>; "Rockbox development" <rockbox_at_cool.haxx.se>
Sent: Saturday, April 10, 2004 6:00 PM
Subject: Re: new extension for talkbox directory clip: ".dirname.tbx"

--- Gajdos_at_metatem.net wrote:
> Since the dirname is identified by its own extension now, why not looking
> for "<anything>.tbx" - so it's up to everyone to use dots in front or not
> - or is this already allowed?

what happens if there are 2 *.tbx file though?

i don't see why the . in front is such a big deal in the first place...

-scott

__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa