![]() |
unix command question
how do you delete a certain folder and it's subfolders and its files without a prompt confirmation? something like deltree in dos
this is what I konw: rm -r myfolder |
rm -rf folder/
|
Quote:
it prompts |
Quote:
|
rm -rf should work without a prompt. As roly said, the f switch should suppress the prompts. If anything, try rm -rif, f will overwrite i. Linux can be quirky like that.
|
rm /folder/* -rf
|
All times are GMT -7. The time now is 05:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123