what I was attempting to do was remove the underscore from between filename 
elements. I have a huge number of mp3 files here.

I use terminal for some of this operation but I tend to lose track of where I 
am.

-eric

On Dec 12, 2011, at 8:55 AM, Chris Blouch wrote:

> I guess I'm not clear what problem you are trying to solve. Are you trying to 
> add .mp3 to a bunch of files? If that's the case you could just do this in 
> terminal. Go to the folder with the mp3 files you want to add .mp3 to and do 
> this:
> 
> for e in *; do mv "$e" "`echo $e | sed -e ''`.mp3"; done
> 
> You'll find all the files now have .mp3 appended to the end. Warning, this 
> will also append .mp3 to folders so use with care. Probably ways to prevent 
> that and do recursion.
> 
> CB
> 
> On 12/12/11 2:03 AM, Eric Oyen wrote:
>> well,
>> I was facing the daunting task of renaming massive numbers of files 
>> (specifically my mp3 library) and I hit upon an idea that I used to use in 
>> windows: using an archive program to store the media files in (no 
>> compression) and then append the proper extenuation after the file was made. 
>> the program in this case is tar (Tape Archiver). after I get done using tar 
>> to create the storage file, I erase the mp3's involved and then rename the 
>> file with the new .mp3 extenuation. VIOLA! playable mp3 file that even works 
>> in itunes!
>> 
>> 
>> sometimes the old tricks are still the best.
>> 
>> this little trick not only cuts down the number of files in my library, but 
>> it makes it easier to copy them to my various devices for playback.
>> 
>> -eric
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to