Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
services:network:scp:mac:scp-mac [2009/06/05 12:55]
marina
services:network:scp:mac:scp-mac [2011/05/03 13:09] (current)
marina
Line 1: Line 1:
-<note w> +=====Scp usage from your laptop/pc Mac to your linux SISSA workstation=====
-  DO NOTE READ THIS PAGE ... WORK IN PROGRESS \\ +
- +
-</​note>​ +
- +
- ​{{ ​ services:​sqrman.gif ​ }} +
- +
-=====Scp ​installation and usage from your laptop/pc Mac to your linux Sissa workstation=====+
 ---- ----
  
-a) Open a terminal+a)
 Open a terminal on your Mac workstation.\\ Open a terminal on your Mac workstation.\\
 Search for the **Terminal** icon in **/​Applications/​Utilities/​Terminal** and execute it (double click).\\ ​ Search for the **Terminal** icon in **/​Applications/​Utilities/​Terminal** and execute it (double click).\\ ​
Line 17: Line 10:
 \\ \\
 <note i> <note i>
-  Please ALWAYS check that in the destination folder/​directory ​it IS NOT PRESENT a file with the same name of the file which you have to copy there. If a file with the same name is present, using the copy command, this file will be overwritten.+To avoid to overwrite unintentionally an existing file of the destination folder/​directory, we suggest ​you to 
 +check ALWAYS ​the file names present ​in the destination folder/​directory.
 </​note>​ </​note>​
  
  
-==== Copying ​a file from your laptop to your sissa workstation.==== +==== Copy a file from your laptop to your SISSA workstation.==== 
-   * **<color red> ​1) </​color>​** at the prompt write:​\\ ​ +   * **1)** at the prompt write:​\\ ​
- +
-**scp** **<color MediumOrchid>​f_l_a/​file_name_on_your_laptop</​color>​**<​html>&​nbsp;​ </​html>​ **<color blue>​your-sissa-username@name-of-your-workstation:​f_d_a/​new_file_name</​color>​**+
  
 +**scp** //​**local_path/​file_name_on_your_laptop**//​ //​**<​color teal>​your-SISSA-username@hostname:​dest_path/​new_file_name</​color>​**//​
 \\ \\
-In the following example the f_l_a (=file_location_address) is the **working folder** on your laptop, so it is omitted, \\ +   * **2)** at the prompt write //**your ​SISSA password**// when requested.\\ 
-the file_name_on_your_laptop is **fiele_name**,​ \\ +For example:\\ 
-the your-sissa-username is **jsmith**, \\ +**scp**** ​//fiele_name// ​//<​color ​teal>​jsmith@bluestar.ap.sissa.it:​~/​Desktop/</​color>/​/**\\ 
-the name-of-your-workstation-name is **bluestar.ap.sissa.it**, ​\\ +{{term_scp_1.jpg|Be sure about the pathnames and file names...}}
-the file_destination_address is **~/​Desktop/​** and will be copied with the same name (so it is not present a <color blue>​new_file_name</​color>​).\\ +
-**scp** **<color MediumOrchid>​fiele_name</color>** <​html>&​nbsp;​ </html>**<​color ​blue>​jsmith@bluestar.ap.sissa.it:​~/​Desktop/</​color>​**\\ +
-   * **<color red> 2) </color>** at the prompt write **your sissa password** when requested.\\ +
-{{term_scp_1.jpg|scp file_location_ address/​file_name your-sissa-username@name-of-your-workstation:​file_destination_address/​file_name...}}+
 \\ \\
 \\ \\
 +In that example:\\
 +**scp**** //​fiele_name//​ //<color teal>​jsmith@bluestar.ap.sissa.it:​~/​Desktop/</​color>//​**
 +  * the //​**local_path**//​ is the //working folder// on your laptop, so it is omitted
 +  * the //​**file_name_on_your_laptop**//​ is //​fiele_name//​
 +  * the //​**your-SISSA-username**//​ is //jsmith//
 +  * the //​**hostname**//​ (the name of your SISSA linux workstation) is //​bluestar.ap.sissa.it//​
 +  * the //​**dest_path**//​ (destination pathname) is //​~/​Desktop///​ and the file will be copied with the same name (so it is not present a //<color teal>​new_file_name</​color>//​).\\
 \\ \\
  
  
 +==== Copy a file from your SISSA workstation to your laptop===
 +   * **1)** at the prompt write:\\
 +**scp** ​ //​**your-SISSA-username@hostname:​local_path/​file_name** **<color teal>​dest_path/​new_file_name</​color>​**//​\\
  
 +   * **2)** at the prompt write //**your SISSA password**//​ when requested.\\
 +For example: \\
 +**scp** ​ **//​jsmith@bluestar.ap.sissa.it:​~/​Desktop/​file_name <color teal>​~/​Desktop</​color>//​**\\
 +{{term_scp_2.jpg|Be sure about the pathnames and file names..}}
 +\\
 +\\
 +In that example: \\
 +**scp** ​ **//​jsmith@bluestar.ap.sissa.it:​~/​Desktop/​file_name <color teal>​~/​Desktop</​color>//​**
 +  * the//** your-SISSA-username**//​ is //jsmith//
 +  * the// **hostname**//​ (the name of your Sissa linux workstation) is //​bluestar.ap.sissa.it//​
 +  * the //​**local_path**//​ is the //​~/​Desktop//​
 +  * the //​**file_name**//​ is //​file_name//​
 +  * the //​**dest_path**//​ (destination_path) is //​~/​Desktop//​ and the file will be copied with the same name (so the //<color teal>​new_file_name</​color>//​ is not present).\\
  
- 
-==== Copying a file from your sissa workstation to your laptop=== 
-   * **<color red> 1) </​color>​** at the prompt write:\\ 
- 
-**scp** ​ **<color MediumOrchid>​your-sissa-username@name-of-your-workstation:​f_l_a/​file_name ​  </​color>​** <​html>&​nbsp;​ </​html>​**<​color blue>​file_destination_ address/​new_file_name</​color>​**\\ 
- 
-\\ 
-In the following example the your-sissa-username is **jsmith**, \\ 
-the name-of-your-workstation is **bluestar.ap.sissa.it**,​\\ 
-the f_l_a (=file_location_address) is the **~/​Desktop**,​ \\ 
-the file_name is **file_name**,​\\ 
-the file_destination_address is **~/​Desktop** and will be copied with the same name (so the <color blue>​new_file_name</​color>​ is not present).\\ 
-**scp** ​ **<color MediumOrchid>​jsmith@bluestar.ap.sissa.it:​~/​Desktop/​file_name </​color>​** <​html>&​nbsp;​ </​html>​**<​color blue>​~/​Desktop</​color>​**\\ 
-   * **<color red> 2) </​color>​** at the prompt write **your sissa password** when requested.\\ 
-{{term_scp_2.jpg|scp your-sissa-username@name-of-your-workstation:​file_destination_address/​file_name file_location_ address/​file_name.}}