Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open your preferred web browser.

  2. Visit https://cloud.rdm.uq.edu.au/ and log in

  3. Click on your initials at the top right corner.

  4. Click on 'Settings'

    , then 'Security'.

  5. Scroll down until you find the "Devices & sessions" section.

  6. There’s a field to name your new app password. Type ‘rclone’ into this field so that you know what the password is for.

  7. Click on the 'Create new app password' button. This will generate a new password.

    Image Added
  8. This new password will be displayed just once. Highlight it, right-click and select 'Copy' or press 'Ctrl+C' (Windows) or 'Command+C' (Mac) to copy it. You'll need to paste this in the rclone configuration later.

  9. Open Terminal:

    • Press 'Command' and 'Spacebar' on your keyboard simultaneously. This opens Spotlight.

    • Type 'Terminal' and press 'Enter'. This opens the Terminal app.

  10. Configure rclone:

    • In the Terminal, type rclone config and press 'Enter'.

    • When asked 'e/n/d/r/c/s/q>', type n and press 'Enter'.

    • Type a name for the new remote (like ‘rdm3' or 'uqrdm’) and press 'Enter'.

    • When asked for the 'Storage', type 40 (which corresponds to a specific storage type you need) webdav and press 'Enter'.

    • When asked for the 'url', type <httpshttps://cloud.rdm.uq.edu.au/remote.php/dav/files/your-email/> (replace 'your-email' with your actual UQ email address) and press 'Enter'.

    • When asked for the 'vendor', type 1 (which corresponds to Nextcloud) and press 'Enter'.

    • When asked for the 'user', type your UQ email address and press 'Enter'.

    • When asked 'y/g/n>' for the 'pass', type y and press 'Enter'. You will then be prompted to enter the password. To paste the password you copied earlier, right-click in the Command Prompt or Terminal and select 'Paste' (or use 'Ctrl+V' for Windows or 'Command+V' for Mac) and then press 'Enter'.

    • Confirm your password by typing pasting it again and pressing 'Enter'.

    • Skip the 'bearer_token' by simply pressing 'Enter'.

    • When asked 'Edit advanced config?', type n and press 'Enter'.

    • To confirm the configuration is okay, type y and press 'Enter'. Then type q and press 'Enter' to quit the config.

  11. Test the Configuration:

    • Type rclone lsd rdm3: in the Terminal and press 'Enter'. It should list the RDM records that you have access to.

...

  • To copy a file from your local system to UQRDM, you can use the copy command:

    Code Blockrclone copy

    In the Terminal, type rclone copy /path/to/local/file

    rdm3:/path/on/rdmand press 'Enter'.

    Replace /path/to/local/file with the actual path of the file on your local system, and rdm3:/path/on/rdm with the desired location on the UQ RDMUQRDM. rdm3 is the name of the remote you've configured for UQ RDMUQRDM.

2.4 Syncing folders with rclone:

  • To sync a local folder to a folder on UQ RDM, use the sync command. This command makes the destination folder match the source folder, altering the contents of the destination folder if necessary.

    Code Block

    rclone

    sync

    /path/to/local/folder

    rdm3:/path/on/rdmand press 'Enter'.

    Again, replace /path/to/local/folder with the path of the local folder, and rdm3:/path/on/rdm with the destination folder on the UQ RDMUQRDM.

  • If you would like real-time statistics on how much data has been transferred, and at what speed, you can use this instead: rclone sync -P /path/to/local/folder rdm3:/path/on/rdm and press 'Enter'.

2.5 Moving files with rclone:

  • If you wish to move (i.e., copy and then delete the source), you can use the move command. This is useful if you want to free up space on your local system after ensuring the files are safely stored on UQ RDM. rclone move /path/to/local/file rdm3:/path/on/rdm

    Code Block
    rclone move /path/to/local/file rdm3:/path/on/rdm

    Remember, this will delete the file from the local system after it has been copied to UQ RDM.

...