Solved I need to rename file with [,]

October 1, 2012 at 11:00:52
Specs: Windows 7
Hello I have to execute a command to change the file name from [from]testing1 to [to]testing2.

I looked for awk and sed and dont want to work.


See More: I need to rename file with [,]

Report •

#1
October 1, 2012 at 11:08:47
opps sorry, some information. I'm using shelscripting.

Report •

#2
October 1, 2012 at 11:13:14
✔ Best Answer
Your requirements are a little thin. Renaming files in unix generally means using the move command, mv. Is it as easy as this?

mv [from]testing1 [to]testing2

These links might give you an idea:

http://www.computing.net/answers/un...
http://www.computing.net/answers/un...
http://www.computing.net/answers/un...

If you would like help, please be more specific and post some code.


Report •

#3
October 1, 2012 at 11:57:40
thanks I found what i was needing. with replace.


Mitch.


Report •
Related Solutions


Ask Question