[thelist] telnet and deleting directories
Jan-Willem Swane
jan-willem at swane.nl
Fri Aug 30 04:33:01 CDT 2002
Adrian Fischer:
>
>I need to zap a whole heap of directories I have uploaded by mistake. My
>ftp program will only allow me to delete empty directories. Its very
>tedious having to go into heaps of dir to delete files and so it goes.
>
>Can I telnet in and delete the directories while they have files in them?
>
>I know it is fraught with danger but I'm living dangerously and loving it.
You could do
rm -Rf directoryname
-R makes the remove command recursive, -f attempts to remove the files without prompting for confirmation, regardless of the file's permissions.
This is a dangerous command. Making a local copy first would be a wise idea.
groeten, Jan-Willem
More information about the thelist
mailing list