Super simple question - renaming a directory

Soldato
Joined
18 May 2010
Posts
22,897
Location
London
So I need to rename a directory call 'desktop' to 'Desktop'.

I was going to run 'mv desktop Desktop' but as the desktop folder is a directory which contains other files do I need to run:

'mv -R desktop desktop' ?

---

Secondary question does the rename carry over file permissions?
 
Last edited:
Back
Top Bottom