Date: Fri, 27 Jan 2006 17:52:21 -0600 From: Paul Schmehl <pauls@utdallas.edu> To: "FlashWebHost.com" <flashweb@gmail.com>, freebsd-questions@freebsd.org Subject: Re: rm - Argument list too long Message-ID: <9873AD032E93C851484DF81B@utd59514.utdallas.edu> In-Reply-To: <927ad6550601271534r17a6ddb2jd90b930f744d170f@mail.gmail.com> References: <927ad6550601271534r17a6ddb2jd90b930f744d170f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Saturday, January 28, 2006 05:04:00 +0530 "FlashWebHost.com" <flashweb@gmail.com> wrote: > Hi, > > I am getting error "Argument list too long." when deleting files from > /tmp directory. > > ------------------------------------ > server20# uname -a > FreeBSD server20.hosthat.com 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Tue > Oct 18 06:28:41 GMT 2005 > root@server20.hosthat.com:/usr/obj/usr/src/sys/SERVER20 i386 > server20# pwd > /tmp > server20# ls -l sess* > /bin/ls: Argument list too long. > server20# rm -f sess* > /bin/rm: Argument list too long. > server20# > ------------------------------------ > > Any idea how to correct this ? > Sure for files in *.* do rm $files done Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9873AD032E93C851484DF81B>