Re: Renaming multiple files???

Aug 15, 2008 2 Replies


I need to rename multiple files, as for example...


>
> DSC00062.JPG
> |
> |
> |
> DSC00098.JPG
>
> to...
>
> Thanksgiving00062.JPG
> |
> |
> |
> Thanksgiving00098.JPG
>
> I vaguely remember, in DOS, that I could type:
>
> REN DSC*.JPG NAME*.JPG
>
> But that won't handle long files names, plus it's a pain dropping into
> the crappy DOS window.
>
> Anyone know a trick or a utility (doesn't have to be free) that can do
> this?

Sure - just boot Linux, and do $for MYFILENAME in `ls` ; do mv "$MYFILENAME" "Thanskgiving$MYFILENAME" ; done


Hope This Helps! Rich



I think it would be best if it wrote it in binary

10100101001010010101011101000100100100010010001100000010111110010100100100100101001010011000101011100100100100100101010011110000010010111001001000010010101010001010101010000100101011101111110111010100010111111111100100010010100101010010010010101010010100100100100101001010100101001010010101011101000100100100010010001100000010111110010100001001001010010100000101011100100100100100101010011110000010010111001001000010010101010001010101010000100101011101111110111010100010111111111100100010010100101010010010010101010100001111001010010100101010111010001001001000100100011001110000101111100101001001001001010010100000101011100100100100100101010011110000010010111001001000010010101010001010101010000100101011101111110111010100010111000101111100100010010100101010010010010101010101001010010100100100100101010101110100010010010001001000110000001011111001010000100100101001010000010101110010010010010010101001111000001001011100100100001001010101000101010101000010010101110111111011101010001011111111110010001001010010101001001001010101011111101011101010110101010101011110111010110010010010001001000110000001011111001010100010010010100101001100010101110010010010010010101001111000001001011100100100001001010101000101010101000010010101110111111011101010001011111010010110010001001010010101001001001010101001001000100100101001010010100101010111010001001001000100100011000000101111100101000010010010100101000001010111001001001001001010100111100000100101110010010000100101010100010101010100001001010111011111101110101000101111111111001000100101001010100100100101010101010010100101001010101110100010010010110010011100011000000101111100101000010010010100101001000101011100100100100100101010011110000010010111001001000010010101010001010101010000100101011101111110111010100010110010100101001011111100100010010100101010010010010101010000100100100010010100000010010101011110101111010101111010101110100010101010100010111101111111110101000100101010100101010

This assumes fat partition though!

done

A.F.5 1.1 af5.exe

formatting link

is what I use in such situations

-- Diverse Devices, Southampton, England electronic hints and repair briefs , schematics/manuals list on

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required