The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

yarsclient - Upload, download, and delete files to Yars.

SYNOPSIS

    # Send a file to Yars.
    yarsclient upload <filename>

    # Get the file back, write it to the current directory.
    yarsclient download <filename> <md5>

    # Put some content to somefilename.txt
    echo 'some content' | yarsclient put somefilename.txt

    # Get just the content back to stdout.
    yarsclient get <filename> <md5>

    # Delete the file from Yars.
    yarsclient remove <filename> <md5>

    # Check the status of all the yars hosts and disks.
    yarsclient servers_status

    # Check the usage of the disks, either from the configured host, or all hosts
    yarsclient disk_usage
    yarsclient disk_usage --all 1

    # Mark a disk down
    yarsclient set_status --host http://host1 --disk /acps/f101 --state down

    # Mark a disk up
    yarsclient set_status --host http://host2 --disk /acps/f101 --state up

    # Check a manifest file
    yarsclient check_manifest /my/dir/MANIFEST
    # Just emit "ok" or "not ok"
    yarsclient check_manifest -c /my/dir/MANIFEST
    # Also do a server side md5 check
    yarsclient check_manifest --show_corrupt 1 /my/dir/MANIFEST

DESCRIPTION

Command-line interface to Yars::Client. Client for Yars.

AUTHORS

 Brian Duggan

 Marty Brandon

SEE ALSO

Yars::Client

Clustericious::Client