GFAL-SUM(1)

๐Ÿ’– GFAL-SUM ๐Ÿ’–

okay so bestie, welcome to gfal-sum(1) from the General Commands Manual โ€” it's the little tool that goes โœจ checksum โœจ on your files and honestly? she ate.


๐ŸŒธ NAME ๐ŸŒธ

gfal-sum โ€” calculate checksum of a file ๐Ÿงฎ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

gfal-sum [ OPTION ] FILE CHECKSUM_TYPE

โœจ DESCRIPTION โœจ

So basically, gfal-sum calculates the checksum of the file you point it at, using whatever checksum algorithm you tell it to use. That's it, that's the whole vibe. ๐Ÿฆ‹

The supported algorithms depend on the protocol and the endpoint, so it's giving "your mileage may vary" energy. Some examples of algorithms you might get are ADLER32, CRC32 and MD5. ๐Ÿ‘‘


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -h, --help โ€” show help about the command. ur lil safety net ๐Ÿซถ
  • -V, --version โ€” output version information and exit. she's brief, she's iconic ๐Ÿ’–
  • -v, --verbose โ€” verbose mode. Repeat up to 3 times for the most verbose mode. yes bestie, stack her up ๐Ÿ“š
  • -D, --definition DEFINITION โ€” define properties for gfal2. Definitions have the following syntax: "CONFIG_GROUP:KEY=VALUE" ๐Ÿ”ง
  • -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. โฐ (so she's got a lil 30s cushion, no cap)
  • -E, --cert CERT โ€” user certificate. (This option takes effect only after X509_USER_PROXY environment variable and default /tmp/x509up_uid -u`` location cannot provide a certificate) ๐Ÿ”
  • --key KEY โ€” 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-info CLIENT_INFO โ€” provide custom client-side information. ๐Ÿ“
  • --log-file LOG_FILE โ€” write Gfal2 library logs to the given file location. ๐Ÿ“‚
bestie note: -4 and -6 are only valid for the GridFTP protocol, so don't come for me if they're a no-op elsewhere ๐Ÿ™ˆ

๐ŸŒˆ EXAMPLES ๐ŸŒˆ

gfal-sum srm://endpoint.cern.ch/path/file ADLER32

she's calculating an ADLER32 checksum on a file sitting at an SRM endpoint. slay. ๐Ÿ”ฅ


๐Ÿ“ FILES ๐Ÿ“

  • /etc/gfal2.d/* โ€” All configuration files in this directory affect the behavior of the underlying gfal2. ๐Ÿ‘€

๐Ÿงš 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>

the whole squad fr fr ๐Ÿ’œ


๐Ÿ‘‘ 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)


and that's the whole page, bestie!! this one's from v1.7.1, dated March 2022 โ€” she's a lil vintage but she still serves. go checksum something, ily, mwah ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹๐ŸŒธ๐Ÿ’…๐Ÿซถ