Reinject deleted files in EOS
Follow up to https://gitlab.cern.ch/cta/CTA/-/issues/834, a tool is necessary to reinject completely deleted files back into EOS. The tool would need to obtain the deleted archive file attributes using the same procedure used forcta-admin rtf ls
, validate that the file was completely deleted (i.e. it does not exist in the CTA catalogue TAPE_FILE table), then reinject the file back in EOS, like is done in https://gitlab.cern.ch/cta/CTA/-/blob/5eabf46a82e17438cd8ba1a79fe34636a9e5823a/migration/gRPC/EosTestFileInject.cpp and finally delete the recycle bin entries related to the reinjected file.