GFFINDXMLATTR(1)

✨ GFFINDXMLATTR ✨

okay bestie, gather round, because this one is literally the tool you want when your XML extended attributes are hiding and you need to hunt them down by XPath. it's gffindxmlattr, it's from the Gfarm fam, and it is so good at what it does. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

gffindxmlattr [-d depth] [-F delim] [XPath | [-f XPath-file]] path

that's the whole vibe. one path, one query, and off we go πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so here's the tea: gffindxmlattr finds XML extended attributes by a specified XPath expression, and then it displays path names and the corresponding XML extended attribute names. iconic behavior, honestly.

when a file is specified, the XML extended attributes associated to that file get searched β€” but only if there is the read permission. no read permission, no results, sorry bestie πŸ’…

when a directory is specified, files or directories within the depth are recursively searched. and here's the depth lore:

  • when 0 is specified for the depth, the specified directory itself is searched
  • if the depth is not specified, all files and directories under the specified directory are searched
  • if the negative value is specified, gffindxmlattr returns error 🚨
  • directories that do not have execute permission cannot be searched β€” that's just facts

and the output? gffindxmlattr displays path names and the corresponding XML extended attribute, separated by the delim. cute, clean, done.


✨ OPTIONS ✨

  • -d depth β€” specifies the depth to be searched recursively. you're the one choosing how deep this rabbit hole goes πŸ•³οΈ
  • -F delim β€” specifies a delimiter that separates the path name and the XML extended attribute name. by default, the delimiter is TAB 🌈
  • -f XPath-file β€” specifies a file that contains XPath expression. for when your query is too long to be shouting in the terminal πŸ“„
  • -? β€” displays usage. the little help meow 🐱

πŸ”₯ SEE ALSO πŸ”₯


and that's a wrap, angel πŸ’œ this page is from Gfarm, dated 18 Aug 2008. yes, it's been serving since before you were born and it still ate. go find those attributes, bestie β€” you got this 🫢✨