Transferring Files between Oscar and Campus File Storage (Replicated and Non-Replicated)
You may use either Globus (recommended) or smbclient to transfer data between Oscar and Campus File Storage.
1) Log into Oscar:
2) Start a screen session. This will allow you to reattach to your terminal window if you disconnect.
3) To use Oscar's high-speed connection to Campus File Storage - Replicated:
smbclient "//smb.isi.ccv.brown.edu/SHARE_NAME" -D DIRECTORY_NAME -U "ad\BROWN_ID" -m SMB3
Similarly to access Campus File Storage - Non-Replicated ( LRS: Locally Redundant Share)
smbclient "//smblrs.ccv.brown.edu/Research" -D DIRECTORY_NAME -U "ad\BROWN_ID" -m SMB3
Replace SHARE_NAME, DIRECTORY_NAME, and BROWN_ID. DIRECTORY_NAME is an optional parameter. The password required is your Brown password.
4) Upload/download your data using the FTP "put"/"get" commands. Replace DIRECTORY_NAME with the folder you'd like to upload.
5) You can detach from the screen session with a "CTRL+A D" keypress. To reattach to your session:
putis upload to Campus File Storage
put <local_file> [remote file name]
<local_file>from Oscar to Campus File Storage. The remote file name is optional (use if you want to rename the file)
getis download to Oscar
get <remote_file> [local file name]Copy
<remote_file>from the Campus File Storage to Oscar. The local file name is optional (use if you want to rename the file)
To move more than one file at once use
mget. By default:
recurseis OFF. smbclient will not recurse into any subdirectories when copying files
promptis ON. smbclient will ask for confirmation for each file in the subdirectories
You can toggle recursion ON/OFF with:
You can toggle prompt OFF/ON with: