Mounting attaches a collection collection to the filesystem so that you can use it. It can only be done on
the commandline, using the
tag mount myfiles
This will mount a collection named
myfiles to your system’s mount directory and fork into the background.
Your mount directory can be changed with mount.base_dir.
If the collection doesn’t exist, it
will be created for you. The result is that you will have a folder available at either
/Volumes/myfiles (on Mac)
/mnt/myfiles (on Linux).
If you’re on Linux, you’ll need to make sure
/mnt/myfiles exists and is owned by your user, before you mount.
On MacOS, this doesn’t seem to be necessary.
You can also mount your collection without forking a background process using the
-f flag. In this case,
SIGINT will unmount and end the process.
Similar to mounting, you can unmount:
tag unmount myfiles
This will unmount the
myfiles collection. The collection argument is optional, so if you wish to unmount all of
your collections, don’t specify a collection to the unmount subcommand.