~/.lftp/rc
in a text editor. (You may need to first create the ~/.lftp
folder if it does not exist. Strictly speaking, this step is 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.
set ftps:initial-prot "" set ftp:ssl-force true set ftp:ssl-protect-data true
lftp ftps://ftp.box.com:990 lftp ftp.box.com:~> user XXXX@XXX.utexas.edu
!ls
lets you list the contents of your local directory.
To recursively copy directories, you will need this command:
mirror -R {local dir} {remote dir}
{remote dir}
if it has been deleted in {local dir}
since the last backup. You would need to add the --delete
flag for that type of sync. Barrick Lab > ComputationList > CommandLineBox