Web Hosting Talk







View Full Version : Renaming Files


WoodShedd
05-25-2002, 02:17 PM
Is there any way to batch rename files with unix, or does anyone know of a script that would do so?

I need to rename a couple thousand files and i don't want to do it by hand.

ie somedumfile63.ext to sdf63.ext

thanks for any help. I have been looking by my self for a week now with no luck. its for a BSD server

imago-allan
05-25-2002, 09:02 PM
Hi! I think there is a move command:

mv FILE1 FILE2

I've heard of sed or something.

Will this help? :

http://computing.net/unix/wwwboard/forum/1651.html

:)