I want to run the following rsync command to transfer a folder from a remote server to my current one sudo -r -a -v -e 'ssh -p portnum' username@serverip:/home/path/* /home/path
this directory is quite large in both size and structure and the transfer takes some time. Rather than leave my computer turned on with the PuTTY window open, I would like to run a command that continues to execute after I have closed the window and shut down my PC.
I have tried using prefixing it with nohup
but it didn't work. What other options do I have?