---+ Copying files to/from UT Box at the command line Follow the directions here to set up an _additional_ Box password that you will use for connecting: https://uisapp2.iu.edu/confluence-prd/display/SOICKB/Using+Box+under+Linux You will need [[https://lftp.yar.ru/][LFTP]] installed on your system. *It is already installed on TACC* Open the file =~/.lftp/rc= in a text editor. (You may need to first create the =~/.lftp= folder if it does not exist. This step is, strictly speaking, optional. You could run these commands every time you enter the LFTP shell to temporarily set the options.) Add these lines to the =~/.lftp/rc= file. <div style="border-color: grey; border-style: solid; border-width: 1px; padding:6px;"><verbatim> set ftps:initial-prot "" set ftp:ssl-force true set ftp:ssl-protect-data true </verbatim></div> Now you can use these commands to connect to Box (The second one is run inside the LFTP shell and will prompt you for the password you created.) <div style="border-color: grey; border-style: solid; border-width: 1px; padding:6px;"><verbatim> lftp ftps://ftp.box.com:990 lftp ftp.box.com:~> user XXXX@XXX.utexas.edu </verbatim></div> LFTP commands are a dialect of FTP commands. If you are not familiar with these, here is a reference. One useful thing is that you can run a command on your local machine by adding an exclamation point before the command. For example =!ls= lets you list the contents of your local directory. To recursively copy directories, you will need this command: <div style="border-color: grey; border-style: solid; border-width: 1px; padding:6px;"><verbatim> mirror -R {local dir} {remote dir} </verbatim></div>
This topic: Lab
>
ComputationList
>
CommandLineBox
Topic revision: r1 - 2019-08-14 - JeffreyBarrick