...
Code Block |
---|
portal:> remote portal [ not connected ] * public [ not connected ] aws [ not connected to: https://data.pawsey.org.au:443 public not connected to: https://] |
You can query the configuration of a particular remote as follows:
Code Block |
---|
portal:/>remote portal --info name = portal type = mflux protocol = https server = data.pawsey.org.au:443 awsport = 443 domain not connected to: 'ap-southeast-2' pawsey0002 not connected to: https://acacia.pawsey.org.au= ivec |
New remotes can be added for a an additional Mediaflux server (such as similar to the default portal and public above) or for an S3 resourcesresource. For further information, see: pshell and S3 remotes.
...
Authenticate to a remote using the appropriate credentials. In the case of the data portal it will be your Pawsey credentials. In the case of an S3 resource it will be your key and secret pair. If the login was successful, the connection status of the remote will be updated.
Code Block |
---|
portal:>login Username: sean Password: portal:>/>remote remote portal authenticated to: https://data.pawsey.org.au/aterm as user=ivec:sean public [ authenticated ] * public [ not connected ] aws [ not connected to: https://data.pawsey.org.au:443] |
You can now navigate (cd, ls) and transfer files (put, get) between your local filesystem and your remote storage resource.
...
Code Block |
---|
portal:/projects/Data Team>mkdir remotefolder portal:/projects/Data Team>cd remotefolder/ portal:/projects/Data Team/remotefolder/>ls 200032136 | 12 MB | remotefile portal:/projects/Data Team/remotefolder/>lcd localfolder Local: /Users/sean/localfolder portal:/projects/Data Team/remotefolder/>lls Local folder: /Users/sean/localfolder 3 MB | localfile portal:/projects/Data Team/remotefolder/>put localfile.txt put: 1/1 files, errors=0, skipped=0, progress: 100.0% at 1.51 MB/s portal:/projects/Data Team/remotefolder/>get remotefile.txt get: 1/1 files, errors=0, skipped=0, progress=100.0% at 3.1 MB/s portal:/projects/Data Team/remotefolder/>ls 200032136 | 12 MB | remotefile.txt 200032137 | 3 MB | localfile.txt portal:/projects/Data Team/remotefolder/>lls Local folder: /Users/sean/localfolder 12 MB | remotefile 3 MB | localfile |
...
To see an overview of the available commands, type "help" at the prompt. You can also type "help <command>" to obtain specific help on the named command.
Code Block |
---|
portal:/>help Documented commands (type help <topic>): ========Standard commands ================================ cd get info login ls publish quit rmdir delegate help lcd logout mkdir put remote unpublish exit import lls lpwd processes pwd rm whoami portal:/>helpget info login Returnls informationpublish forquit armdir remote file orSpecialised folder Usage: info <filename/folder>commands ==================== delegate lifecycle policy |