Nolan Mattox

From SCECpedia
Jump to navigationJump to search

Content Management System: Meta Data Utility


1) Purpose: To create, manage and take advantage of meta data for each file on a file system.
2) How to use: Currently this program is a command line utility. Running the main function from CMSMetaDataManager.java, the user will be presented with a 6 options. The options are described below:

  1. Goes through file system and creates a .meta file for each file in each directory starting at user specified root OR current working directory.
  2. Takes a user input file name (ex: earthquake.ppt), searches file system (starting at user specified root OR current working directory) and outputs meta data attributes (or error if file cannot be found).
  3. Goes through file system starting at user specified root OR current working directory and prints out meta data attributes for each file in file system.
  4. Prints meta data attributes for each file in specified directory OR current working directory.
  5. Goes through file system and deletes each .meta file in each directory starting at user specified root OR current working directory. NOTE: this should be done before selecting option (1). TODO: It's probably a good idea to have option (5) automatically run when (1) is selected before (1) creates all meta data. This is so meta data isn't duplicated and it stays up to date (deletes old, creates new).
  6. Exits program

3) Link to SVN: http://source.usc.edu/svn/CMS-mdu/