Sébastien Aperghis-Tramoni wrote:
> Michael G Schwern wrote:
>
>> Oh look .ccache has gotten confused and filled up with tmp files and disk
>> space is running low. That's ok, I'll just delete them.
>>
>> 0 windhund ~/.ccache$ rm tmp.*
>> -bash: /sw/bin/rm: Argument list too long
>>
>> Hate.
>>
>> Anyone who tells me I should be piping or some shit to justify this will be
>> destroyed.
>
> Just do it in Perl:
>
> $ perl -eunlink+glob+shift 'tmp.*'
That's what I wound up doing, but less hateful to my brain.
perl -wle 'unlink <tmp.*>'