We help IT Professionals succeed at work.

how do I rename a directory?

thedogeater
thedogeater asked
on
Medium Priority
192 Views
Last Modified: 2012-05-04
say I have a directory called "foo" with some
files in it and I want to rename it "foobar"
what do I do?
I do not want to just copy it to the new name
and delete the old one. I do not want to use
a c or perl pergram to do this just UNIX
commands

Thanks for your help
Comment
Watch Question

CERTIFIED EXPERT
Commented:
mv foo foobar

Author

Commented:
Thanks, I don't know what I was thinking!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.