parrot_md5(1)

NAME

parrot_md5 - returns the MD5 checksum of a file, generated on the remote system if possible.

SYNOPSIS

parrot_md5 <path>

DESCRIPTION

parrot_md5 returns the MD5 checksum of the file stored at <path>. If possible it calls a native function of the remote system to get the checksum, without requiring the transfer of the file's contents to the user's machine. If the filesystem does not support the checksum function internally, it is computed by the user-level program in the normal fashion.

OPTIONS

parrot_md5 has no options.

EXIT STATUS

On success, returns zero. On failure, returns non-zero.

EXAMPLES

To retrieve the MD5 checksum of a file stored on a chirp server:

% parrot_run parrot_md5 /chirp/server.nd.edu/joe/data
    d41d8cd98f00b204e9800998ecf8427e data

The Cooperative Computing Tools are Copyright (C) 2022 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

SEE ALSO

CCTools