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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-02-2005, 12:32 AM   #1
darnit
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

Last edited by darnit; 06-02-2005 at 12:34 AM..
darnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:33 AM   #2
perfectodollars-gabrio
Confirmed User
 
perfectodollars-gabrio's Avatar
 
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...
perfectodollars-gabrio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:33 AM   #3
LionDollars
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.
LionDollars is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:34 AM   #4
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
rm -Rf <dir>
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:36 AM   #5
FuqALot
Confirmed User
 
Join Date: Dec 2001
Location: Malibu
Posts: 3,817
maybe rm -rf

broke said it hehe
FuqALot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:38 AM   #6
darnit
Confirmed User
 
Join Date: Jul 2001
Location: Teh Interweb
Posts: 2,439
Quote:
Originally Posted by perfectodollars-gabrio
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...
Thats true - its a managed box at nat net....so no root... ugg. Is there a work around?
darnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:42 AM   #7
JulianSosa
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
JulianSosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 12:56 AM   #8
darnit
Confirmed User
 
Join Date: Jul 2001
Location: Teh Interweb
Posts: 2,439
Quote:
Originally Posted by JulianSosa
Get nat net to change permissions on the directorys you want to kill then rm -rf
will do... thanks eveyone for the help. Saves a bunch of time
darnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2005, 01:29 AM   #9
darksoul
Confirmed User
 
darksoul's Avatar
 
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
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.