![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jan 2005
Location: new york city
Posts: 158
|
rm -rf folder/
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
it prompts |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: Feb 2005
Posts: 146
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
rm /folder/* -rf
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
![]() |
![]() ![]() ![]() ![]() ![]() |