bash rename folder code example
Example 1: bash rename foldr
# how to rename a folder:
mv oldNameOfFolder newNameOfFolder
# that's it
Example 2: bash rename
# Linux - Bash
# syntax:
mv <source-filename> <destination-filename>
# example-1 (fundamental - no switches):
mv "Initial_File_Name.txt" "New_File_Name.txt"
Example 3: bash rename file
mv oldname newname
Example 4: ubuntu rename folder
sudo mv oldName newName
Example 5: rename folder bash
mv /home/user/oldname /home/user/newname
Example 6: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]