iBridges CLI Exercises

Uploading, Downloading, Synchronisation

  • Download the “demo/hello.txt” to your Downloads folder
  • What happens if you upload the downloaded file again to the “demo” collection?
  • What does the --dry-run option do? Try it out: Use the download command with the --dry-run option on the whole “demo” collection to your Downloads folder on your laptop.
  • Create a “demo” folder inside of your “Downloads” folder. Use the sync command to synchronise the “demo” collection to the “demo” folder.
  • Try to do the same thing with the ibridges download command. What are the differences between download/upload and sync?

Metadata only download

Inspect the help of:

ibridges meta-download -h

Try it out on your demo collection.

Searching for data

  • Search for data labeled with a key starting with auth.
    Remember to set the search root to:

    tempZone/home
  • The help contains examples for searching collections only.
    Try one of them.

GUI vs CLI

Concept GUI CLI
Configuration Configure → Add Configuration ibridges alias, ibridges init
Connect to iRODS Connect → Connect to iRODS Uses active environment; no explicit “connect” command
Browse collections Browser view, navigation bar ibridges ls, ibridges cd, ibridges tree
Create collection Button: Create Collection ibridges mkcoll
Upload data Upload pop‑up ibridges upload
Download data Download pop‑up ibridges download
Metadata Metadata panel ibridges ls -m, ibridges meta-add, meta-rm, meta-edit
Search Search tab ibridges search
Synchronisation Synchronisation tab ibridges sync
Permissions Permissions tab ibridges ls -A
Replicas Replicas tab

Questions