![]() |
![]() |
![]() |
||||
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
Join Date: Jul 2001
Location: Teh Interweb
Posts: 2,439
|
VERY BASIC unix command help....
Hey,
Im trying to nuke a bunch of directories that have subdirs, pics, files etc. Im using the command rm -r <directoryname>. However i get a prompt for each file within these dirs im trying to delete. Is there a way to nuke these directories / subdirs / files without having to confirm each file? Thanks! PS - i know.... newb question so flame at will |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2003
Location: www.perfectodollars.com
Posts: 3,811
|
that's probably cuz you dont have root privileges for those, login as root and then do rm -r and he won't ask you anything. if you can't login as root, this is not possible unfortunately and you gotta do one by one...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2004
Location: www.LionDollars.com
Posts: 407
|
rm -r -a <dirname> from a rusty old memory
L$
__________________
We Now Have 4 Sex Dating sites. Not promoting Sex Dating? You are not earning! http://www.LionDollars.com 16,000 Free Hosted Galleries JUST LAUNCHED. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
rm -Rf <dir>
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Dec 2001
Location: Malibu
Posts: 3,817
|
maybe rm -rf
broke said it hehe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Jul 2001
Location: Teh Interweb
Posts: 2,439
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Aug 2003
Posts: 3,042
|
Get nat net to change permissions on the directorys you want to kill then rm -rf
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Jul 2001
Location: Teh Interweb
Posts: 2,439
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
You don't need natnet for this.
Since you don't get permission denied when deleting one file at a time its not a permission thing, you can just rm -fr dir |
![]() |
![]() ![]() ![]() ![]() ![]() |