Files/Move papers from submit buffer to live archive

From EPrints Documentation
Jump to: navigation, search

Vital update: there was a typo in the script which would trash data! please make sure your script uses

$eprint->move_to_archive

the old version had the call

$eprint->move_to_buffer

which corrupted data by overwriting the record in place. Doh!

This code has *not* been fully tested and should be used with caution. (update this line if you test it and it's OK!)