I assume the command isn't exactly the same, as it doesn't assume it has to run in my user?
You don’t have to prepend the sudo command. The rest is the same. You just need to make sure that you access the right directory. The root directory is not “/” here, because you are not working from Macintosh HD, but Recovery HD. So using /Applications won’t work. Instead you have to change the working directory first and then use a relative path (without a “/” before Applications).
In this case, assuming that your volume is indeed Macintosh HD:
Code:
cd /Volumes/Macintosh\ HD
This changes your working directory. Use the
pwd command to verify this (it will show you the full directory you are currently using). You can also use the
ls command to list the folders in that directory (which should be: Applications, Library, Users and System, among others).
Then you use this command (without the “/” before Applications):
Code:
mv Applications/Photos.app/Contents/MacOS/{,_}Photos
Honestly though, if you are not used to such operations with the Terminal then please don’t try this. Just disable SIP temporarily, move the application and turn it on again.