ADSM-L

Re: AIX Question!

2002-07-10 09:57:28
Subject: Re: AIX Question!
From: Andrew Carlson <andyc AT ANDYC.CARENET DOT ORG>
Date: Wed, 10 Jul 2002 08:55:42 -0500
ls program* | xargs -n 20 rm


Andy Carlson                                    |\      _,,,---,,_
Senior Technical Specialist               ZZZzz /,`.-'`'    -.  ;-;;,_
BJC Health Care                                |,4-  ) )-,_. ,\ (  `'-'
St. Louis, Missouri                           '---''(_/--'  `-'\_)
Cat Pics: http://andyc.dyndns.org/animal.html


On Wed, 10 Jul 2002, Al'shaebani, Bassam wrote:

> Hello All,
> 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*.
> There were too many files, so I had to actually cut my search down, to
> something like program01* and so forth, to avoid the error message.
>
> Thanks......
>
> Regards,
> Bassam
>
<Prev in Thread] Current Thread [Next in Thread>