Re: AIX Question!
2002-07-10 09:07:55
Hi,
> I'm came across an issue yesteday, does anyone know a way around
> deleting a large number of files without getting the 'parameter too
> long'
> message. i.e. I was trying to delete all the file that began with
> program*.
What about
find ./ -xdev -type f -name "program*" -exec rm {} \;
or
for file in `echo program*`; do rm $file; done
Dirk
|
|
|