Chrome Extension

Change directory name or rename a directory in Ubuntu

If you want to change the directory name or want to rename a folder in ubuntu you can use mv command for that.
# Rename directory on current path
----------------------------------------------
mv old_dir_name new_dir_name

# Rename directory using directory path
----------------------------------------------
mv /var/etc/old_dir_name /var/etc/new_dir_name

# Second method - gvfs-move command
----------------------------------------------
gvfs-move /home/user/old_dir_name /home/user/new_dir_name
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
Was this helpful?
0 Comments