Take the 2-minute tour ×

I want to rename the folder from DDMS. The DDMS only supports deletion of a file and an empty folder. I want to change the name of folder /mnt/sdcard/NewFolder to /mnt/sdcard/NewFolder2. Is there a way to rename the folder?

share|improve this question
@ChiragRaval you're not right. According to SO rules it is possible to answer to own questions. If it is not allowed, you will not have a button to answer your own question. –  Yury Feb 8 '13 at 8:56
It's possible, if you for instance have made a research before on this question and now just share you knowledge with the community. However, I'm a bid agree with you because the question does not seem to me difficult and, moreover, the answer is not correct with respect to question (there is a question how to do this in ddms and not in a shell). –  Yury Feb 8 '13 at 9:00
@ChiragRaval I'm not doing this to earn reputation, I'm just sharing knowledge. Please read this and this –  Jaguar Feb 8 '13 at 9:51
@ChiragRaval dont think other people cheap –  USER_NAME Feb 8 '13 at 10:18

1 Answer 1

up vote 2 down vote accepted

Use the following command in cmd:

C:\> adb shell
$ cd /mnt/sdcard
$ mv NewFolder NewFolder2
share|improve this answer
what about for renaming from private files located in data? –  jonney Jun 7 '13 at 13:13

Your Answer


