I was just wondering what the command is to remove a directory and everything inside it. The file has over 4 gigs of pictures and sftp is taking way too long. Thanks
rm -rf [directoryname] Code (markup): remove a directory. You will be prompted to answer "Yes" or "No" for whether you would like to delete each file in the directory
Please don't run this as root unless you need to.. because if you mis-type a directory you can really fubar the installation (recursive, scary!).
Good suggestion, but he is obviously new to *nix. Running rm -rf in the wrong directory such as /home/ is basically hosing your entire server. man rm bigrollerdave rm -r directoryname will be safer
lol i can only think of everybodys reaction when all their files are gone, ouch that would suck... ;p
My friend has done it 2-3 times. Hosing 100+ hours of programming and 3-4 entire websites and databases. I am terifyed of rm -rf.
He wanted to remove all the files in that directory,so it's easier. Sorry I posted something wrong,there's no prompting when you use the command.