wiki:facility:software:copy

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
wiki:facility:software:copy [2025/03/05 13:58] Roy Proutywiki:facility:software:copy [2025/04/03 18:51] (current) Max Breitmeyer
Line 1: Line 1:
 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! 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!
  
-====== Copying Data from NAS to Local Devic ======+====== Copying Data from NAS to Local Device ======
  
   - Identify what data you would like to transfer to your local device using the steps shown in [[wiki:facility:software:query]]   - Identify what data you would like to transfer to your local device using the steps shown in [[wiki:facility:software:query]]
- 
   - While still ssh'ed into the system, copy the data from the "Long Term Storage (LTS)" into your 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"   - While still ssh'ed into the system, copy the data from the "Long Term Storage (LTS)" into your 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"
       - Note: To keep from overcrowding, this directory will be cleared nightly       - Note: To keep from overcrowding, this directory will be cleared nightly
 +  - If you are attempting to copy significant amounts of data, zipping the files will be the most efficient method. This can be done using the following command: "tar -czf filename.tar.gz file1 file2 file3... fileN" or if you're familiar with wildcards you can use that to create the file. 
   - Once the data has been copied into the home directory return to your local device.   - Once the data has been copied into the home directory return to your local device.
  
Line 18: Line 17:
  
 === On Linux === === On Linux ===
-  - In your terminal type "scp obs-user@obs-database.rs.umbc.edu:/home/copied_data/\$file_name \$local_location_to_be_stored"+  - In your terminal type "scp obs-user@obs-database.rs.umbc.edu:/home/obs-user/copied_data/\$file_name \$local_location_to_be_stored"
   - For mac/unix your location to be stored will look something like: /path/to/local/location/   - For mac/unix your location to be stored will look something like: /path/to/local/location/