.\" Manpage for gfal-stat .\" .TH GFAL-STAT 1 "March 2022" "v1.7.1" .SH NAME gfal-stat \- display extended information about a file or directory .SH SYNOPSIS .B gfal-stat [ .I "OPTION" ]... .I URL .SH DESCRIPTION .B gfal-stat Display extended information about a file or directory. .SH OPTIONS .TP .B "-h, --help" show help about the command. .TP .B "-V, --version" output version information and exit. .TP .B "-v, --verbose" verbose mode. Repeat up to 3 times for the most verbose mode. .TP .BI "-D, --definition " DEFINITION define properties for gfal2. Definitions have the following syntax: "CONFIG_GROUP:KEY=VALUE" .TP .BI "-t, --timeout " TIMEOUT global timeout for the execution of the command. Command is interrupted if time expires before it finishes. Note: A grace period of 30 seconds is given to the global timeout. .TP .BI "-E, --cert " CERT user certificate. (This option takes effect only after X509_USER_PROXY environment variable and default /tmp/x509up_u`id -u` location cannot provide a certificate) .TP .BI "--key " KEY user private key. .TP .B "-4" forces Gfal2 to use IPv4 addresses only. (Option valid only for GridFTP protocol) .TP .B "-6" forces Gfal2 to use IPv6 addresses only. (Option valid only for GridFTP protocol) .TP .BI "-C, --client-info " CLIENT_INFO provide custom client-side information. .TP .BI "--log-file " LOG_FILE write Gfal2 library logs to the given file location. .SH EXAMPLES .B gfal-stat file:///tmp/path1/path2 File: 'file:///tmp/path1/path2' Size: 1986 directory Access: (1777/drwxrwxrwx) Uid: 0 Gid: 0 Access: 2017-05-10 13:15:35.000000 Modify: 2017-05-10 13:24:04.000000 Change: 2017-05-10 13:24:04.000000 .PP .B gfal-stat srm://endpoint.cern.ch/path/directory1 File: 'srm://endpoint.cern.ch/path/directory1' Size: 1986 directory Access: (1777/drwxrwxrwx) Uid: 0 Gid: 0 Access: 2017-05-10 13:15:35.000000 Modify: 2017-05-10 13:24:04.000000 Change: 2017-05-10 13:24:04.000000 .SH FILES .I /etc/gfal2.d/* .RS All configuration files in this directory affect the behavior of the underlying gfal2. .SH AUTHORS Duarte Meneses .br Adrien Devresse .br Alejandro Alvarez Ayllon .br Andrea Manzi .br Mihai Patrascoiu .br Joao Lopes .SH "SEE ALSO" .BR gfal-cat (1), .BR gfal-chmod (1), .BR gfal-copy (1), .BR gfal-ls (1), .BR gfal-mkdir (1), .BR gfal-rename (1), .BR gfal-rm (1), .BR gfal-save (1), .BR gfal-stat (1), .BR gfal-sum (1), .BR gfal-token (1), .BR gfal-xattr (1), .BR gfal-evict (1), .BR gfal-bringonline (1), .BR gfal-archivepoll (1)