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, -vvv is max volume, no cap πŸ”ŠπŸ”₯
  • -D, --definition DEFINITION β€” 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, --timeout TIMEOUT β€” 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, --cert CERT β€” user certificate. πŸ“œ (this option takes effect only after the X509_USER_PROXY environment variable and the default /tmp/x509up_uid -u`` location cannot provide a certificate β€” so it's the backup plan, lowkey)
  • --key KEY β€” 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-info CLIENT_INFO β€” provide custom client-side information. πŸ’Œ
  • --log-file LOG_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 πŸ’–πŸŽ€