GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   unix command question (https://gfy.com/showthread.php?t=435164)

Zester 02-22-2005 08:06 AM

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

jayme_ 02-22-2005 08:07 AM

rm -rf folder/

Zester 02-25-2005 03:21 AM

Quote:

Originally Posted by jayme_
rm -rf folder/

its the same as the one i'm using
it prompts

roly 02-25-2005 04:40 AM

Quote:

Originally Posted by Zester
its the same as the one i'm using
it prompts

it shouldn't do, the "f" switch is force and "rm -rf folder" should delete the folders recursively without promting.

KorayIsSexy 02-25-2005 04:47 AM

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.

naitirps 02-25-2005 04:48 AM

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