I have been running my code within a screen session on a remote server. I want to move the output directories generated within this session on the remote server to my local server using SCP but I am not able to.
Is there a way to do this?
If not, how can I copy my folders from the screen session to my remote server (so that I can SCP to my local server)?
Currently, this is what I do.
ssh ritu@i.p.address
ritu@i.p.address$ screen -r xxxx.pt
root@xxxxxx# ls media
Experiment_A
Local Server
scp ritu@xx.xx.xx.xxx:/media/Experiment_A/features /Users/local/ExpResult
(Output)
scp: /media/Experiment_A/features: No such file or directory
man scp | less +/\ -r
. – 41754 Aug 27 '19 at 07:55screen
session. There is no difference between files and directories in thescreen
session and outside of it. You must clarify what you are trying to do and show exactly what commands you use to copy the files and what error message you get. – Kusalananda Aug 27 '19 at 08:27(output) scp: /media/Experiment_A/features: No such file or directory
This folder is present in the root folder within the screen session but not outside.
– ritupanda Aug 27 '19 at 08:39pwd; ls -ld .
immediately after you do screen -r ...`? – ctrl-alt-delor Aug 27 '19 at 11:11