in reply to Removing files listed in another file

Another approach is to use Unix's very useful xargs command: xargs rm < packlist_file Of course, there's an implementation of xargs in the Perl Power Tools project.