Alternatively, you can also use the following method:
Use this if you want a specific folder to stay visible forever. how to unhide hidden folders
The screen blinked. The desktop refreshed. Suddenly, every Finder window sprouted dozens of semi-transparent folders and files all starting with a dot: .local , .config , .Trashes on the external drive. And there it was: .old_VMs . Alternatively, you can also use the following method: