H
hpy_awad
I have some files I want to rename them upon parts of their names .
For example : files :
part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
part03_iti_r01_ch03_ver04_conditional_statements_one_if_else_TV_Rental_bills.c
part03_iti_r01_ch03_ver05_conditional_statements_multi_if_else_TV_Rental_bills.c
part03_iti_r01_ch03_ver06_conditional_statements_switch_TV_Rental_bills.c
I want to issue unix2dos command for each file :
as:
unix2dos part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
ex0303.c
I will convert
part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
I chose ex^^ & ^^.c
Which utility I can choose for accomplishing thar task ?
sed,Perl.... How can I use it in a loop?
For example : files :
part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
part03_iti_r01_ch03_ver04_conditional_statements_one_if_else_TV_Rental_bills.c
part03_iti_r01_ch03_ver05_conditional_statements_multi_if_else_TV_Rental_bills.c
part03_iti_r01_ch03_ver06_conditional_statements_switch_TV_Rental_bills.c
I want to issue unix2dos command for each file :
as:
unix2dos part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
ex0303.c
I will convert
part03_iti_r01_ch03_ver03_conditional_statements_one_if_TV_Rental_bills.c
I chose ex^^ & ^^.c
Which utility I can choose for accomplishing thar task ?
sed,Perl.... How can I use it in a loop?