GFAL-SAVE(1)
β¨ GFAL-SAVE πΎ (that's the gfal-save command, bestie, from the General Commands Manual section)
okay so picture this: you've got stuff coming in on standard input, and you want it in a file. that's it. that's the whole vibe. gfal-save is your girl π«Ά
πΈ NAME πΈ
gfal-save β read from standard input and write it to a file
π SYNOPSIS π
gfal-save [ OPTION ]... FILE
π DESCRIPTION π
gfal-save reads from stdin and writes it to a file until it finds EOF. and if the file already exists? bestie, it's getting overwritten. no warning, no asking, just gone. new content only. periodt. π
β¨ OPTIONS β¨
-h,--helpβ shows help about the command. iconic of her honestly π-V,--versionβ outputs version information and exits. short and sweet, love that for her β-v,--verboseβ verbose mode. repeat it up to 3 times for the most verbose mode. so like,-vvvis max volume, no cap ππ₯-D,--definitionDEFINITION β define properties for gfal2. definitions have this syntax:"CONFIG_GROUP:KEY=VALUE"β colon, key, equals, value. get it right, it's giving very specific π¦-t,--timeoutTIMEOUT β global timeout for the execution of the command. the command gets interrupted if time expires before it finishes. β οΈ and heads up: a grace period of 30 seconds is given to the global timeout, so it's not as strict as it sounds π-E,--certCERT β user certificate. π (this option takes effect only after theX509_USER_PROXYenvironment variable and the default/tmp/x509up_uid -u`` location cannot provide a certificate β so it's the backup plan, lowkey)--keyKEY β user private key. π-4β forces Gfal2 to use IPv4 addresses only. (option valid only for the GridFTP protocol) π-6β forces Gfal2 to use IPv6 addresses only. (option valid only for the GridFTP protocol) π-C,--client-infoCLIENT_INFO β provide custom client-side information. π--log-fileLOG_FILE β write Gfal2 library logs to the given file location. receipts, but make it a file π
π§ EXAMPLES π§
okay this one is genuinely so clean, look:
cat /etc/group | gfal-save srm://endpoint.cern.ch/path/group
pipe the group file straight into a remote path. chef's kiss π
πΈ FILES πΈ
/etc/gfal2.d/*β all configuration files in this directory affect the behavior of the underlying gfal2. so like, this folder is the puppet master, respect it π«‘
π AUTHORS π
the legends who built this, in order:
- 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>
π₯ 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)
(yes she's in her own SEE ALSO. main character energy fr fr π β¨)
and that's the whole page, bestie π«Ά this one's from v1.7.1, dated March 2022 β shoutout to the General Commands Manual, we stan a classic. go save some files, you got this ππ
π¦ 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