Skip to content

Some small shell scripts that add functionality to dCache. It's probably very site specific to SURFsara but it may inspire others.

Notifications You must be signed in to change notification settings

onnozweers/dcache-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcache-scripts

Some small scripts that add functionality to dCache.

dcache-collect-debug-info.sh

Collects various debugging info, like heap dumps etc. You may have to adapt this script because it contains site specific hostnames.

get-file-checksum

Talks to a dCache WebDAV door to obtain the checksum (Adler32 or MD5) of a file.

get-share-link

Talks to a dCache WebDAV door to obtain a macaroon: a token that authorizes anyone who gets it to access a certain dir or file with some caveats. Can also provide a direct link to access the shared object, or can list the curl commands you need to access it, or it can create an Rclone config file that provides access with Rcloe to the shared data. Uses view-macaroon (see below).

view-macaroon

A tiny Python script to deserialize (decode) a macaroon, so that you can see what's inside. Used by get-share-link. Uses pymacaroons (pip install pymacaroons).

About

Some small shell scripts that add functionality to dCache. It's probably very site specific to SURFsara but it may inspire others.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published