I asked 'change filename without using mv command and rename function' few days ago, and @nos answered me. So I try to use 'link' function.(It seems to create a hard link.)
But, it is not available with a directory.
Is there any way to change a directory name without using 'rename' function and 'mv' command?
I can use my copy function and delete function, but it is too hard and wasteful to just change a directory name.
I just want to know whether there is any way to change a directory name without using 'rename' function and 'mv' command.
I'm so sorry about my poor English skill... ;(...
fsck
could correct it. I thought about that as a solution for your problem -- then decided it was unwise. In modern Linux, you cannot evencat
the directory inode contents anymore -- there was probably a good reason for the change. – Chopinmv
. Explain me the case where this is useful! Thank you! – Rounce