logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gfal-stat - display extended information about a file or directory

Authors

       Duarte Meneses <duarte.meneses@cern.ch>
       Adrien Devresse <adrien.devresse@cern.ch>
       Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>
       Andrea Manzi <andrea.manzi@cern.ch>
       Mihai Patrascoiu <mihai.patrascoiu@cern.ch>
       Joao Lopes <joao.pedro.batista.lopes@cern.ch>

Description

gfal-stat Display extended information about a file or directory.

Examples

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

       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

Files

/etc/gfal2.d/*
              All configuration files in this directory affect the behavior of the underlying gfal2.

Name

       gfal-stat - display extended information about a file or directory

Options

-h,--help
              show help about the command.

       -V,--version
              output version information and exit.

       -v,--verbose
              verbose mode. Repeat up to 3 times for the most verbose mode.

       -D,--definitionDEFINITION
              define properties for gfal2. Definitions have the following syntax: "CONFIG_GROUP:KEY=VALUE"

       -t,--timeoutTIMEOUT
              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.

       -E,--certCERT
              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)

       --keyKEY
              user private key.

       -4     forces Gfal2 to use IPv4 addresses only. (Option valid only for GridFTP protocol)

       -6     forces Gfal2 to use IPv6 addresses only. (Option valid only for GridFTP protocol)

       -C,--client-infoCLIENT_INFO
              provide custom client-side information.

       --log-fileLOG_FILE
              write Gfal2 library logs to the given file location.

See Also

gfal-cat(1),  gfal-chmod(1),  gfal-copy(1),  gfal-ls(1), gfal-mkdir(1), gfal-rename(1), gfal-rm(1), gfal-save(1), gfal-stat(1), gfal-sum(1),  gfal-token(1),  gfal-xattr(1),  gfal-evict(1),  gfal-bringonline(1),
       gfal-archivepoll(1)

v1.7.1                                             March 2022                                       GFAL-STAT(1)

Synopsis

gfal-stat [ OPTION ]...  URL

See Also