From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72be4e46459520b7,start X-Google-Attributes: gidfee84,public From: duane@hunch.zk3.dec.com (Andrew Duane USG/PE) Subject: Re: removing specific directoryies Date: 1997/11/21 Message-ID: <6541lc$tbn@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 291233960 References: <33679957.6895@worldnet.att.net> <34751F8B.41C6@tesla.optus.com.au> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article <34751F8B.41C6@tesla.optus.com.au> Jarra Voleynik writes: >Greg Green wrote: >> I need to remove specific directories from a particular subdirectory. I >> tried using the command rm -rfi filename* and I was prompted with: >> >> bash: /sbin/rm: Arg list too long >> >> Is there a way around this? Is there a way to increase the size for >> this list even temporarily? Must I delete one directory at a time until >> I get the list small enough? You cannot increase the arg list size at all. You can do [a-m]*, then [n-z]*, or whatever, to break the list up into two or three pieces; no need to resort to one at a time. -- Andrew L. Duane (JOT-7) duane@zk3.dec.com Digital Equipment Corporation (603)-884-1294 110 Spit Brook Road M/S ZKO3-3/U14 Nashua, NH 03062-2698