Folder name change in Finder but not changed in Terminal iMac running Mojave 10.14.6
I changed a folder name in Finder but I can't see the change in Terminal.
old folder name: A.B
new folder name: A
in Terminal ls still shows A.B
cd . or cd .. then cd back won't change the ls outcome.
in Finder using Go to Folder can go to the new folder name, however the Path bar at the bottom shows the new name but Copy as Pathname or New Terminal at Folder are using the old name.
Restarting the iMac won't fix.
What kind of bug is this? I can fix this by mv in Terminal but I'd prefer the syncing between Finder and Terminal automated.
You probably have &quot;Hide extension&quot; set for that folder or have globally disabled &quot;Show all filename extensions&quot; in Finder Advanced preferences.