wiki:facility:software:copy

This is an old revision of the document!


Note that this article assumes some basic understanding of bash commands and command line interface. If you have any trouble with this, please seek assistance with your local IT manager, or someone else who uses linux frequently!

To copy data from the NAS into your local device you should do the following:

- First start by identifying what data you would like to transfer to your local device using the steps shown in query.

- While still ssh'ed into the system, copy the data from the “Long Term Storage (LTS)” into your the home directory and the folder designated for holding data. This can be done by typing the following command: “cp $file_to_be_copied ./copied_data”

  1. Note: To keep from overcrowding, this directory will be cleared nightly

- Once the data has been copied into the home directory return to your local device.

IF ON WINDOWS FOLLOW THESE INSTRUCTIONS:

- Open up a new terminal and type “Get-Command scp”

- If the command is found skip this step, otherwise do: “Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0”

END OF WINDOWS SPECIFIC INSTRUCTIONS

- In your terminal type “scp obs-user@obs-database.rs.umbc.edu:/home/copied_data/\$file_name \$local_location_to_be_stored”

For windows your location to be stored will look something like: C:\path\to\local\location\

For mac/unix your location to be stored will look something like: /path/to/local/location/

If you have any issues, ask your local IT manager for assistance.