Transferring data ----------------- .. _transferring_data: There are several ways to transfer data from and to ``Octopus``. The following is a subset and an incomplete list of methods and tools: - :ref:`scp ` - :ref:`rsync ` - :ref:`winscp ` - :ref:`sftp ` - :ref:`cyberduck ` - :ref:`filezilla ` - :ref:`mobaxterm ` scp +++ .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white .. image:: https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black .. image:: https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white transfer/copy files from the local machine to ``~/`` on ``octopus``: .. code-block:: bash scp -rp my_local_file @octopus.aub.edu.lb:~/ To transfer files from ``octopus`` to the local machine ``rsync`` is more suitable since the command should be executed on octopus and that requires a connection from octopus to the local machine that is usually no possible unless a ssh tunnel is created. ``rsync`` supports this out of the box. More information on using scp can be found in the official `manual `_. rsync +++++ .. _rsync .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white .. image:: https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black .. image:: https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white transfer/copy files from the local machine to ``~/`` on ``octopus``: .. code-block:: bash rsync -PrlHvtpog my_local_file @octopus.aub.edu.lb:~/ To transfer files from ``octopus`` to the local machine: .. code-block:: bash rsync -PrlHvtpog @octopus.aub.edu.lb:~/my_file . More information on using rsync can be found in the official `manual `_. sftp ++++ .. _sftp .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white .. image:: https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black .. image:: https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white sftp is a command line based tool that provides the same functionality as winscp. To establish a secure ftp connection to octopus the following command can be used: .. code-block:: bash sftp @octopus.aub.edu.lb Once the connection is established sftp commands such as (get, put) can be used in the sftp prompt to send / receive data (files, folders, ... etc). More information on using rsync can be found in the official `manual `_. winscp ++++++ .. _winscp .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white Winscp is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the `here `_. The follwing `tutorial `_ is a good reference on how to use it. cyberduck +++++++++ .. _cyberduck .. image:: https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white Cyberduck is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the `here `_. The follwing `tutorial `_ is a good reference on how to use it. There are many other tutorials too, feel free to explore. filezilla +++++++++ .. _filezilla .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white .. image:: https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black .. image:: https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=apple&logoColor=white Filezilla is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It is a free tool that can be downloaded from the `here `_. mobaxterm +++++++++ .. _mobaxterm .. image:: https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white Mobaxterm is a graphical user interface that can be used to transfer files back and forth among the local machine and the HPC cluster. It can be used to do various other secure connections such as a secure shell but it can be also used for the sole purpose of file transfers. It is a free tool that can be downloaded from `here `_.