I hope you didn't lose too much. You were lucky that the 2022 presets still had any content.
Going forward you might like to take a different approach. I mainly use Windows 11, but do also have a MackBook Pro.
I put all my brushes, Actions, Patterns, downloaded fonts, skies etc. in My Documents folders, and place shortcuts to those folders in the appropriate preset folders. This lets me share the same assets with current release and beta, plus 22.2, and it keeps them safe for those times that major version updates send those assets into the pit of oblivion. You need to remember to move any presets you export out to .abr files (brushes) etc. to those folders, because they will still be saved to the default locations.
I don't know how to make shortcuts on the Mac, but I am sure it is just easy as on Windows.
I just read your first post again and see you also lost custom shortcuts. The way I keep them safe is to save them with custom workspaces, and I do the same thing with workspaces as I do with brushes etc.
This is a favourite trick of mine, because it means you can reuse the same shortcuts according to context.
For instance I use these Window > Arrange shortcuts from a Michael Ninness workshop at MAX about 12 years ago. Shift Ctrl Alt T is the shortcut for Free Transform Step & Repeat, so I switch to the Essentials workspace when I need the default.
... View more