Deleting files in Tars

archivepurge is a wrapper around drm from mpiFileUtils and is much faster than rm. It is intended to be used to remove all the files that were tard as part of archivetar but not any that were not. This is most commonly used to prep uploading a directory to an archive when not using Globus.

Run archivetar with --save-purge-list. This will create an extra file that is passed to archivepurge --purge-list <file>.cache.