carta
gftest(1)

gftest1

Check entry type

Usage

gftest options path

Overview

Check file or directory information.

Options

-d

returns 0 if an entry specified by path is a directory.

-e

returns 0 if an entry specified by path exists.

-f

returns 0 if an entry specified by path is a regular file.

-h

returns 0 if an entry specified by path is a symbolic link.

-s

returns 0 if an entry specified by path is a regular file whose size is greater than 0.

-L

returns 0 if an entry specified by path is a regular file and stored in the same host.

-R

returns 0 if an entry specified by path is a regular file and stored in a remote host.

-?

displays a list of command options.

From gfarm-client 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.