Skip to content

sciserver/SciServer-Cmdline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SciServer command-line interface (CLI)

The SciServer command-line interface (CLI) is a tool that allows users to interact with SciServer services and resources directly from the command line. The CLI Python script currently implements basic file operations, such as listing files, uploading files, and downloading files from SciServer.

Installation

Download bin/sciserver and make it executable:

chmod +x sciserver

Usage

Authenticate with SciServer:

eval $(./sciserver login -s -u <username> -p <password>)

The authentication token will be stored in the SS_TOKEN environment variable for subsequent commands.

List persistent directory contents:

./sciserver ls ss://Storage/<username>/persistent/

Display help information:

./sciserver --help

Acknowledgments

The code is based on https://github.com/sciserver/SciScript-Python by mtaghiza et al. but has no dependecies other than requests and the standard Python 3 library. It does not provide a Python API, just command-line access to SciServer services.

About

Command-line tool to access files on SciServer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages