Getting my origin titles off a HDD

So I recently reinstalled windows on my SSD. Once I told steam where the library was it automatically detected all of the games and had no problems. However I can't seem to figure out how to get origin to do this. My internet is really slow it wopuld take days to redownload these games. Does anyone know how to do this?

I vaguely recollect that I used this my self:

https://help.ea.com/en-us/help/origin/origin/backing-up-and-restoring-your-origin-games/

Start downloading the game, then close Origin (completly). Now replace the folder Origin created for the game with the one with the fully downloaded game. Restart origin.
Repeat for each game.