Search code examples
EXAMPLE-A
linux
shell
unix
sftp
Run Nohup while SFTP
I have huge file to transfer from one server to another server.
Im using sftp mode and using command eg: "sftp>put file.txt"
Question : how do i run the command in nohup so that i can close my sftp session without killing the transfer process.
Solution
echo "put file.txt" | sftp -b - servername &
If I understand you correctly.
Close Ad