![]() |
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 |
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...
|
rm -r -a <dirname> from a rusty old memory
L$ |
rm -Rf <dir>
|
maybe rm -rf
broke said it hehe |
Quote:
|
Get nat net to change permissions on the directorys you want to kill then rm -rf
|
Quote:
|
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 |
All times are GMT -7. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123