Transferring data: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Minor correction)
No edit summary
Line 150: Line 150:
|scp foo.txt username@beluga.computecanada.ca:work/
|scp foo.txt username@beluga.computecanada.ca:work/
}}
}}
which will copy the file <tt>foo.txt</tt> from the current directory on my local computer to the directory <tt>$HOME/work</tt> on the cluster [[Béluga/en|Béluga]]. To copy a file, <tt>output.dat</tt> from my project space on the cluster [[Cedar]] to my local computer I can use a command like
which will copy the file <code>foo.txt</code> from the current directory on my local computer to the directory <code>$HOME/work</code> on the cluster [[Béluga/en|Béluga]]. To copy a file, <code>output.dat</code> from my project space on the cluster [[Cedar]] to my local computer I can use a command like
{{Command
{{Command
|scp username@cedar.computecanada.ca:projects/def-jdoe/username/results/output.dat .
|scp username@cedar.computecanada.ca:projects/def-jdoe/username/results/output.dat .
}}
}}
Many other examples of the use of SCP are shown [http://www.hypexr.org/linux_scp_help.php here]. Note that you always execute this <tt>scp</tt> command on your local computer, not the remote cluster - the SCP connection, regardless of whether you are transferring data to or from the remote cluster, should always be initiated from your local computer.  
Many other examples of the use of SCP are shown [http://www.hypexr.org/linux_scp_help.php here]. Note that you always execute this <code>scp</code> command on your local computer, not the remote cluster - the SCP connection, regardless of whether you are transferring data to or from the remote cluster, should always be initiated from your local computer.  


<!--T:29-->
<!--T:29-->
rsnt_translations
53,756

edits

Navigation menu