Operating System - HP-UX
1752571 Members
4578 Online
108788 Solutions
New Discussion

Re: script to remove files each day

 
A. Clay Stephenson
Acclaimed Contributor

Re: script to remove files each day

The problem is that you are not quoting your -name arguments. ABCD* should be 'ABCD*'. You want find to do the expansion NOT the shell.

If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: script to remove files each day

Thanks, Clay! The quotes got lost somewhere in the cut and paste process and I never even noticed.

Pete

Pete