![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| remove old files from a directory | 2davidc8 | UNIX for Dummies Questions & Answers | 2 | 07-03-2007 11:06 AM |
| Remove contents of directory, but not directory | pdc | Shell Programming and Scripting | 8 | 12-04-2005 09:57 AM |
| fastest way to remove duplicates. | radhika | Shell Programming and Scripting | 15 | 11-03-2005 03:27 AM |
| smitty, remove user, remove directory as well.. | yls177 | UNIX for Dummies Questions & Answers | 2 | 11-10-2002 10:43 PM |
| remove a nonempty directory | babayeve | UNIX for Dummies Questions & Answers | 2 | 08-26-2002 08:34 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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. |
|||
| Google UNIX.COM |