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 afterX509_USER_PROXYenvironment 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:-4and-6are 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 ๐โจ๐๐ฆ๐ธ๐ ๐ซถ
๐ฆ where this page comes from
- debian bookworm: gfal2-util-scripts 1.8.0-1 ยท Apache-2.0
- debian trixie: gfal2-util-scripts 1.9.0-2 ยท Apache-2.0
- epel 10: gfal2-util-scripts 1.9.1-1.el10_2 ยท Apache-2.0
- epel 9: gfal2-util-scripts 1.9.1-1.el9 ยท Apache-2.0
- nixos 26.05: python3.13-gfal2-util 1.9.1
- nixos 26.05: python3.14-gfal2-util 1.9.1
- nixpkgs unstable: python3.13-gfal2-util 1.9.1
- nixpkgs unstable: python3.14-gfal2-util 1.9.1
- ubuntu noble: gfal2-util-scripts 1.8.1-1 ยท Apache-2.0
- ubuntu questing: gfal2-util-scripts 1.9.0-2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms