-r retains intermediate files instead of removing them