PDA

View Full Version : [ubuntu] how to use rename command?



tonjaa
June 22nd, 2009, 04:04 PM
if i want to rename file in terminal . it's file .ogg like = desktop-login.ogg
if i want to rename it to name desktop-009.ogg how is the correct command ?

milton1
June 22nd, 2009, 04:05 PM
mv desktop-login.ogg desktop-009.ogg

mcduck
June 22nd, 2009, 04:08 PM
mv desktop-login.ogg desktop-009.ogg

"mv" as in "move", there's no renaming tool as moving file has the same effect. Execute in the same directory where the files are, or use full paths:


mv /path/to/desktop-login.ogg /path/to/desktop-009.ogg

tonjaa
June 22nd, 2009, 04:11 PM
Thank you so much for help me. for human being