how to delete/remove directory in fastest way

hello

i need help to remove directory . The directory is not empty ., it contains
several sub directories and files inside that..

total number of files in one directory is 12,24,446 .

rm -rf doesnt work . it is prompting for every file ..

i want to delete without prompting and fast way..

directory name is
2005-12-27
inside that
so different directories arethee

rm -rf 2005-12-27 .. ( it didnt work

pls suggest me .. or another fast way to delete the directory

Your rm could be alias'ed. Try this.

unalias rm
rm -rf /dir/to/delete

it is very slow and taking time to delete ..

anyother fast way to delete/remove

thanks vino

if the directory is in it's own filesystem --- unmount, newfs, and remount the filesystem ...

aliasing could have been done, for some purpose
i dont think unaliasing and using the command as a valid one.

instead use,
/bin/rm -rf /dir/to/delete
or
/usr/bin/rm -rf /dir/to/delete

aliasing would be preserved.

Very true. Deleting over a million files, wouldnt be a novice's job. You would be very aware of what you are doing.

i think I have miscommunicated somewhere ...

using /bin/rm or /usr/bin/rm will not prompt while deleting each of the file
unlike the alias that was set for rm.

so using the above would preserve aliasing done before as well as it wont prompt while deleting file.

Sorry, if I am churning out the same thing.