This documentation is under active development, meaning that it can change over time as we refine it. Please email email@example.com if you require assistance.
Copying files to and from M3¶
To copy files to and from M3, see the appropriate section below.
The M3 staff like to use FileZilla. FileZilla is available for Windows, Mac OS and Linux. Many SFTP clients are available, the list depends on the platform you use. Here are a few others:
FileZilla - https://filezilla-project.org/download.php?show_all=1 (Only download from this page, other pages/sites have malware)
WinSCP - https://winscp.net
Cyberduck - https://cyberduck.io
The following instructions are based around FileZilla.
Navigate to https://filezilla-project.org/download.php?show_all=1 and click on
Downloadfor your operating system
Once downloaded, install the application on your machine.
On Windows the installer may also attempt to install WinZip and Opera. Make sure you deselect the checkbox if you don’t want these applications.
Start up FileZilla.
On Windows the look of the program will be different to the screen shots below but the location of buttons and fields is similar.
In FileZilla click on the
New Siteand create a new site for M3.
Complete the following fields and click on Connect.
Protocol: SFTP SSH File Transfer Protocol
Logon Type: Ask for Password
User: Enter your M3 username
Enter your password.
FileZilla will connect to your home account on M3. Assuming everything went well you can now drag and drop files into M3.
rsync to synchronise file systems and to transfer large amounts of files, with the ability to stop and restart
the file transfers.
rsync will replicate all files in a folder from one spot to another. It first analyses both
file systems to find the difference and then transfers only the changes.
A typical command to synchronise files from M3 to a local folder is:
rsync -auv -e ssh adirectory firstname.lastname@example.org:~/destinationdirectory/
rsync is very powerful and has many options to help transfer data. For example it can delete unwanted files (
compress data before transfer (
-z) or can you let you see what command options might do without actually executing them
--dry-run). For more info on