Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Q: Script]how to do batch rename in C-shell enviroment?

Status
Not open for further replies.

cheelgo

Member level 5
Joined
Nov 23, 2004
Messages
82
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
488
for example, I want to rename like 100 files name as
orignal_1
orignal_2
...
orignal_100
to
rename_1
rename_2
...
renmae_100

how to write a short C script to do this kind of name change.
many thanks for your help!!!
Best Regards
Cheelgo
 

cheelgo

Member level 5
Joined
Nov 23, 2004
Messages
82
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
488
thank you very much for germansilva's shell program.
really good!!!
solve my problem.

but keypoint what I want is in the original index number should be keeped!
that means.
for example:
orignal_1 should be
only change to
rename_1, should not change to rename_2 or rename_3!!!!
I don't know if this script has this kind of capability?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top