Transfer from Madison

From T2B Wiki
Jump to navigation Jump to search

To transfer files from Madison to T2B and keep their structure identical, use the following command on m-machines :

umask 0002 && rsync -avP --no-implied-dirs --relative / && umask 0022
  • umask is used to set correct permissions for group (if not specified, other users won't be able to write in created directories !)
  • MADISON_USERNAME@ is optional if it is the same as the T2B one

To avoid typing the password of the Madison server, connect to the T2 cluster adding the -A option, which Enables forwarding of the authentication agent connection (dixit man):

ssh -A