Yes, I use a similar method but with rsync opposed to scp. rsync retains permissions so no need to chown the home directory afterwards. Also since rsync is truly a sync and not a copy if users need to use an old system a bit more when you run it again it quickly moves over only what has changed since last time the command was ran.
As I was reading your comment another bonus popped into my head. rsync would be better for resuming an interrupted transfer as opposed to starting over.
Yes, I use a similar method but with rsync opposed to scp. rsync retains permissions so no need to chown the home directory afterwards. Also since rsync is truly a sync and not a copy if users need to use an old system a bit more when you run it again it quickly moves over only what has changed since last time the command was ran.
As I was reading your comment another bonus popped into my head. rsync would be better for resuming an interrupted transfer as opposed to starting over.
Yes, it’s great when you need to stop and resume. For data migrations between Macs I typically use…
caffeinate sudo rsync -vaEP
The flags are: