Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rename directory 1

Status
Not open for further replies.

BlindPete

Programmer
Joined
Jul 5, 2000
Messages
711
Location
US
can i use the rename command to also rename a directory. If not can anyone tell me the name of the command to use.

It is a Linux/Apache server

-Pete
Do you get a little guilty pleasure when a celebrity has a bad day?
Well then The Dead Pool is for you!
 
it's simple

rename("oldname","newname");

This will work even with directories containing files
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top