bash move dir with rename code example
Example 1: rename folder bash
mv /home/user/oldname /home/user/newname
Example 2: how to rename the directory in terminal
mv [oldDirPath] [newDirPath]
mv /home/user/oldname /home/user/newname
mv [oldDirPath] [newDirPath]