Details & registration for the JASMIN User Conference, 1-2 October 2025  Find out more!
Docs

Elastic Tape command-line interface hints

 

Share via

Elastic Tape command-line interface hints

This article explains the return codes of certain Elastic Tape (ET) commands.

et_put.py  

Command-line tool to register large numbers of files for upload to Elastic Tape

Return codes  

rc 0: normal exit    
rc 1: error in start up parameters    
rc 2: error processing list

et_get.py  

Command-line tool to download large numbers of files from Elastic Tape

Return codes  

0: normal exit
1: error in start up parameters
2: cannot write to target directory
3: error received during download
4: closed by interrupt (^c probably)
5: completed with "bad files" (see list via stderr)

et_rm.py  

Command-line tool to delete files from Elastic Tape

Return codes  

rc 0: normal exit    
rc 1: error in start up parameters    
rc 2: error processing list

et_ls.py  

Command-line tool for listing holdings in Elastic Tape

et_ls.py and grep  

The first character on any data line is the line’s type. This allows a script to know the type of line it is trying to parse

Return codes  

0: normal exit    
1: error in start up parameters or reading config file    
2: requestor is not authorised for the intended workspace    
4: closed by interrupt (^c probably) or as a result of a head/tail command

et_transfer_mp  

Return codes  

0: OK    
1: config error    
2: log directory error   
3: already running    
4: error creating client
Follow us

Social media & development