Delete Files through Command Window
Hi Folks
I am using Linux Mandriva 2007 version on my pc. I have got one folder in /var/www/html and it is called gallery2. Currently I am using rm -R filename command to delet file but when I use this command, it asks me every time confirmation for each and every file whether to delete or not. I then say "y" to confirm that and it does. But this take aweful lot of time. so is there any other way to do so or another command? Thanks very much. |
rm -Rf
--- rod |
Hi Mate
Thanks for reply. is this what you mean by your reply / rm -Rf filename rod Please do send confirmation. Thanks. |
No, you should make that:
rm -rf [filename] if foo is the filename, then rm -rf foo Note: the gallery folder belongs to the "gallery2" application; if you disable it, the folder should disappear of itself. Just deleting the folder may leave you with a piece of crippled software. |
|
Quote:
eg: Code:
rm -Rf /var/www/html/gallery2/* Code:
rm -Rf /var/www/html/gallery2 |
All times are GMT -5. The time now is 04:09 PM. |