Permanently removes an object objects from the repository.
Usage:
No Format |
---|
fedora-purge [host:port]
[user]
[password]
[pid]|[fileURI]
[protocol]
[log]
[context]
|
...
host
- the hostname of the Fedora server; default is localhostport
- the port number on which the Fedora server is running; default is 8080user
- the Fedora user (e.g. fedoraAdmin)password
- the Fedora user's passwordpid|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 lineprotocol
- the protocol to communicate with repository, either http or httpslog
- an optional log message explaining the removalcontext
- 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).
ExampleExamples:
No Format |
---|
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
No Format |
---|
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)