Hi take a look at xargs, it handles those things.
regards, Stefan Jahnke Consultant BOV Aktiengesellschaft Voice: +49 201 - 4513-298 Fax: +49 201 - 4513-149 mailto:[EMAIL PROTECTED] visit our website: http://www.bov.de subscribe to our newsletter: http://www.bov.de/presse/newsletter.asp Behalten Sie den Ueberblick - mit dem neuen BasicOverView, unserer Seminaruebersicht fuer das 2. Halbjahr 2002. Sie haben noch kein Exemplar? Schreiben Sie eine E-Mail an mailto:[EMAIL PROTECTED] oder rufen Sie uns an unter 0 18 03 / 73 64 62 73! Wie Sie wissen, koennen ueber das Internet versandte E-Mails leicht unter fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde bitten wir um Verstaendnis dafuer, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen ausschliessen. As you are probably aware, e-mails sent via the Internet can easily be copied or manipulated by third parties. For this reason we would ask for your understanding that, for your own protection and ours, we must decline all legal responsibility for the validity of the statements and comments given above. -----Urspr�ngliche Nachricht----- Von: kommareddy sreenivasa [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 29. August 2002 12:59 An: Multiple recipients of list ORACLE-L Betreff: arg list too long in unix Hi all, OS: SOlaris 2.8 DB: 8i In the clean up process of the following files, I am trying to list out the files that start with cz. cz-session-returnui177_11Jan02_0959AM_33509.txt cz-session-Applet178_11Jan02_0959AM_34108.txt cz-session-returnui175_11Jan02_0959AM_20504.txt cz-session-DHTML176_11Jan02_0959AM_22335.txt cz-session-returnui179_11Jan02_1000AM_34566.txt cz-session-Applet180_11Jan02_1000AM_34818.txt cz-session-BatchSingle181_11Jan02_1001AM_07757.txt cz-session-BatchSingle182_11Jan02_1001AM_11687.txt cz-session-BatchSingle183_11Jan02_1001AM_14010.txt cz-session-BatchSingle184_11Jan02_1001AM_17708.txt cz-session-BatchSingle185_11Jan02_1001AM_20029.txt but when I issue ls -ltr cz* , I am getting arg list too long error. I 70,000-80,000 files that needs to be removed from the directory. I cant list them using ls -ltr *session* as this string may change. I have to identify the files that srart with cz only. can somebody through somelight on this. thanx in advance, srinivas __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: kommareddy sreenivasa INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stefan Jahnke INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
