clean script for transfer tar