EOUTIL(1)
π EOUTIL(1) π
okay so bestie, welcome to the eoutil page from the General Commands Manual β yes, that's the same eoutil(1) you're looking for, and yes, it's lowkey iconic for a command-line utility that does database stuff. Sit down, hydrate, let's go π«Ά
β¨ NAME β¨
eoutil β Command line utility to perform database and EOF oriented tasks.
πΈ SYNOPSIS πΈ
eoutil command [command-options]
π¦ DESCRIPTION π¦
This manual page describes briefly the eoutil command. Short and sweet, we love that for us.
eoutil is a command line utility that performs database and Enterprise Objects Framework-related tasks. It lets you connect to data sources, dump data from them, or modify model features. It's giving middle-management for your database, in the best way. π
eoutil supports the following commands, with the corresponding command-options:
π dump
dump <model> [-source <source> [sourcefile]] -dest <dest> [destfile] [-schemaCreate <options>] [-schemaDrop <options>] [-postInstall] [-force] [-connDict <connection dictionary>] [-entities <entities>] [-excludedEntities <entities>] [-modelGroup <modelGroup>] [-ascii]
This command reads data from <source> and dumps it to <dest>. The dump may include bits of DML that create bits of database schema. The -source flag is optional if only schema is to be created (i.e. no data is being dumped). The following is a list of possible values for each of the arguments in the command:
modelβ must be the name of aneomodeloreomodeldfilesourceβ'plist'(read from stdin unless source file is specified) or'database'(uses model to connect)sourcefileβ name of file to read plist fromdestβ'plist'or'script'(both are written to stdout unless destfile is specified) or'database'(uses model to connect)destfileβ name of file to write plist or scriptoptionsβ'database','tables','primaryKeySupport','primaryKeyConstraints'or'foreignKeyConstraints'postInstallβ looks in the userInfo dictionary for an array of SQL strings to process after any schema creation and data dumping is doneforceβ Do not quit processing after database errorconnDictβ A substitute connection dictionaryentitiesβ a subset of the entities in the model (all are used by default)excludedEntitiesβ a subset of the entities in the model which shall not be used (all are used by default)modelGroupβ A list of models to create a model group. (Allows you to use models not in a framework. Model names must be absolute paths.)asciiβ Convert all non-ASCII characters to their nearest ASCII equivalents.
π convert
convert <model> <adaptorName> <connectionDictionary> <outFileName>
This command converts the type mapping in a model for the data source specified by the connection dictionary URL. The connection dictionary in the new model is set to connectionDictionary.
modelβ must be the name of aneomodeloreomodeldfileadaptorNameβPostgreSQL,FlatFile, etc.connectionDictionaryβ string in property list format representing a dictionary, specifying the database name for the data source (required) and username and password (if required by that data source).outFileNameβ the name of a directory to write the converted model
π connect
connect (<model> | (<adaptorName> <connectionDictionary>))
This command attempts to connect to a data source using the adaptor named adaptorName with connectionDictionary, or using the connection dictionary in model. It returns an exit status of 0 if successful and 1 otherwise. This is primarily useful for scripts. (Script girlies, this one's for you. π)
modelβ must be the name of aneomodeloreomodeldfileadaptorNameβPostgreSQL,FlatFile, etc.connectionDictionaryβ string in property list format representing a dictionary, specifying the database name for the data source (required) and username and password (if required by that data source).
π₯ EXAMPLES π₯
# eoutil dump Movies.eomodeld -source plist -dest database
-schemaCreate tables primaryKeySupport foreignKeyConstraints < MovieData.plist
Creates the tables in the database, reads data in plist format from stdin, stores the data in the database listed in the connection dictionary of model, creates primary key support in the database, and creates foreign key constraints corresponding to the relationship definitions. One command, so many side quests, and it ate every single one. β¨
# eoutil convert Movies.eomodeld PostgreSQL '{ databaseName = test;
hostName = localhost; userName = postgres; password = postgres; }' M.eomodeld
Converts types in Movies.eomodeld file to PostgreSQL types and writes the converted model to ./M.eomodel
# eoutil connect PostgreSQL '{ databaseName = test; hostName = localhost; userName = postgres; password = postgres; }'
Attempts to connect to a PostgreSQL database on host localhost.
π SEE ALSO π
π AUTHOR π
eoutil was written by Stephane Corthesy <stephane@sente.ch>.
This manual page was written by Federico GimΓ©nez Nieto <fgimenez@coit.es> for the Debian project (but may be used by others). Giving credit where credit is due, always. π
ok that's the whole page bestie, no notes, go dump some data responsibly π
and that's a wrap on this one, from the General Commands Manual, version EOUTIL(1), dated 10 March 2010 β mwah, bye ππ¦
π¦ where this page comes from
- debian bookworm: gnustep-dl2 0.12.0-16 Β· LGPL-3.0-or-later
- debian trixie: gnustep-dl2 0.12.0+git20250112-2 Β· LGPL-3.0-or-later
- ubuntu noble: gnustep-dl2 0.12.0-16build2 Β· LGPL-3.0-or-later
- ubuntu questing: gnustep-dl2 0.12.0+git20250112-2
- ubuntu resolute: gnustep-dl2 0.12.0+git20250112-2build1 Β· LGPL-3.0-or-later
- ubuntu stonking: gnustep-dl2 0.12.0+git20250112-2build1 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms