[colug-432] help with a command

Stephen Potter spp at unixsa.net
Sun Aug 10 22:20:17 EDT 2014


On 8/10/2014 10:16 PM, Chris Embree wrote:
> I guess I misread your requirements.   I think Pat had the right
> solution for deleting dirs.
>
> The only difference might be addring -rf...
>
> find /dir/to/serach -type d -name "*.PA" -exec rm -rf {} \;
>
> Untested.  But seems the right direction.

No, Keith said he wanted to keep the directories and only delete the 
files within.

-spp


More information about the colug-432 mailing list