[plug] deleting files

Leon Brooks leon at brooks.fdns.net
Tue Apr 27 10:32:23 WST 2004

On Mon, 26 Apr 2004 20:29, Jon  Miller wrote:
> I have in one directory over 1000 files that needs to be deleted.  Of
> course when I issue rm -rf * I get  message stating the argument list
> was too long.  Is there a way to issue a single command to delete the
> entire content of the directory?

Delete and recreate the directory:

    cd ..
    rm -rf nameofdirectory
    mkdir nameofdirectory

Cheers; Leon

More information about the plug mailing list