Operating Systems > Linux and UNIX

File Names & GIF Animations - small queries

<< < (3/3)

voidmain:
Aarr?

Centurian:

quote:Originally posted by Calum:


What i want to know is, what's the best way to manipulate mass amounts of filenames? example, say i have a directory full og files called east.mp3, star.mp3 and so on, and i want to prefix them with "Smashing Pumpkins - " how would i do it? how would i do it if some of the files in there were already prefixed? How would i do several different directories with the same options, and so on.


--- End quote ---


Heheh this is one case where Dos ( I wont say windows because windows no longer likes Dos) handles it as easily as linux does.

At the command line.
cd\directory_name_you_want_to_change
ren *.* Smashing_Pumkins_*.*
 
Every file in the directory will be renamed.

Calum:

quote:Originally posted by The Master of Reality / Bob:
i dont remember that policy. I remember he said that he tried to keep his posts under the number of members (1 post of help per member) but that didnt work.

Ha, I am above you in posts Calum.
--- End quote ---


ha! i'm member number 81 and you're member number 168, mine is way cooler.    :cool:  

Maybe you don't remember void main saying that because he did so before you signed up?   ;)

[ September 23, 2002: Message edited by: Calum ]

Navigation

[0] Message Index

[*] Previous page

Go to full version