TRACKER3-EXPORT(1)

πŸ“¦
version 3.7.3 Β· 5 versions
, in centos-stream 10

πŸ’Ύ tracker3-export(1) β€” the Tracker manual, but make it cute πŸŽ€

okay so bestie, this is a page from the Tracker manual and honestly? it's giving "quiet little utility that does exactly one thing and does it slay." no cap. let's get into it ✨


✨ NAME ✨

tracker3-export β€” literally exports all the data out of a Tracker database. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

tracker3 export [options...] [IRI...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so tracker3 export pulls the data stored in a Tracker database and spits it out in Turtle format. by default, all the data gets exported β€” like, everything, the whole closet. but if you pass any IRI, then only those resources get printed. picky but make it fashion πŸ’–

heads up bestie: the output is meant to be machine-readable, not human readable. so don't come for it when it looks like a wall of text, it's not for you, it's for the robots πŸ€–βœ¨

want it in a different format? use a tool like rapper(1) to convert the data. iconic teamwork, honestly 🫢


πŸ’… OPTIONS πŸ’…

  • -o, --output-format=<RDF_FORMAT> β€” pick which RDF format the results come out in. the supported formats are turtle, trig and json-ld. choose your fighter ⭐
  • -g, --show-graphs β€” deprecated πŸ™ˆ it does the exact same thing as --output-format trig. so like... it's still here, but it's lowkey just living in the past. use the new one, bestie.
  • --2to3 β€” a lil helper for migrating data from Tracker 2.x databases 🧚 this option takes an argument that specifies the scope. so far only the "files-starred" argument is available. one (1) option and it's already carrying the whole migration arc, we love to see it πŸ‘‘
  • --keyfile β€” outputs the data in a key file format πŸ”‘ but plot twist: it only may be used with --2to3. no solo career for this flag, sorry πŸ’€

πŸ”₯ EXAMPLES πŸ”₯

export all the data from Tracker Index and then prettify the output using rapper(1):

$ tracker3 export -b org.freedesktop.Tracker3.Miner.Files | rapper - -I . -i turtle -o turtle

look at that pipe. the way that | connects two icons. main character energy fr fr 🌈


🌟 SEE ALSO 🌟

go read those too, bestie, they're the supporting cast and they ate πŸ’œ


tiny reminder: every flag, format, argument and path up there is exact β€” copy them character for character or the vibes (and the command) will break 😭

mwah πŸ’‹ this has been 3.7.3, dated 10/29/2024 β€” version and date both showing up to the group chat on time, as they should. bye bestie, go export something gorgeous πŸ¦‹βœ¨

πŸ“¦ where this page comes from