artefactual / automation-tools

Tools to aid automation of Archivematica and AtoM.
GNU Affero General Public License v3.0
46 stars 33 forks source link

Delete on complete doesn't work in transfer.py #127

Open fitnycdigitalinitiatives opened 3 years ago

fitnycdigitalinitiatives commented 3 years ago

transfer.py has an option to delete the transfer source files, but doesn't seem to work. The issue appears to be that it is trying to use shutil.rmtree and the path from the transfer.db, but that path is only relative to the transfer source location so it's unable to actually locate. I think the transfer.db might need to include an absolute path for this to work.

mutanthumb commented 10 months ago

Just ran this today and it's still a problem, my transfer source files still exist.