My MacBook Pro made a new user folder instead of going to my old one
Hey yall, I messed up yesterday and tried to rename my user folder as I recently changed my name. I did what the apple article said and made a new user and then changed my old ones file. When my user booted up it was a fresh new profile with no way of getting back to my old one. I learned that my old folder was still in the users folder, but must of been corrupted or something. I worked for hours in the terminal in recovery mode to no avail. Luckily I had a large majority of my drive backed up in iCloud so I have most of my important files, but is there anyway to fix my old user to be able to just go back to my old profile instead of having to hunt for and build it up piece by piece again? The drive says that 700gb is being used for "system data" so I know that all that info is on there somewhere but I can't figure out how to get to it? Can anyone save me?
[Re-Titled by Moderator]
MacBook Pro 16″, macOS 15.4