The Linux system renames the directory… here is a solution to the problem.
The Linux system renames the directory
I asked a few days ago “change the file name without mv command and rename function” and @nos answered me. So I tried using the “link” function. (It seems to create a hard link.) )
However, it does not apply to directories.
Is there any way to change the directory name without using the “rename” function and the “mv” command?
I can use my copy and delete functions, but just changing the directory name is too laborious and wasteful.
I was just wondering if there was any way to change the directory name without using the “rename” feature and the “mv” command.
I’m sorry my English is poor…;(….
Solution
Try this answer !
mv /home/user/oldname /home/user/newname