Fedora Repository 3 Documentation
Page not found

Permanently removes objects from the repository.

Usage:

fedora-purge [host:port]
             [user]
             [password]
             [pid]|[fileURI]
             [protocol]
             [log]
             [context]

Where:

  • host - the hostname of the Fedora server; default is localhost
  • port - the port number on which the Fedora server is running; default is 8080
  • user - the Fedora user (e.g. fedoraAdmin)
  • password - the Fedora user's password
  • pid|fileURI - the PID of the object to permanently remove OR the URL for a file containing the PIDs of the objects to be purged, one PID per line
  • protocol - the protocol to communicate with repository, either http or https
  • log - an optional log message explaining the removal
  • context - an optional parameter indicating the webapp context. This is only necessary if the Fedora server was installed under a context name other than 'fedora' (see Alternative Webapp Context Configuration).

Examples:

fedora-purge localhost 8080 fedoraAdmin fedoraAdmin demo:6 http "just because"

Purges the object whose pid is demo:6 from the target repository at localhost:8080 using the http protocol

fedora-purge localhost 8443 fedoraAdmin fedoraAdmin file:///some/dir/purge-pids.txt https "why not"

Purges all the objects whose pids are listed in the file /some/dir/purge-pids.txt from the target repository at localhost:8443 using the secure https protocol (SSL)

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels