Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I may have too many dang random files in my download folder because every time I try to get into it my explorer crashes after loading for a bit and I have to reboot my whole pc. I just wondered if there was a way to clear what was in the folder WITHOUT having to delete the whole folder itself. The main reason I don't want to delete the whole folder is because I don't know if that would cause some sort of error in Ubuntu so I figured I'd see if I could clear it first. Also I used ClamTk to check for viruses in that folder and found none.

share|improve this question
    
Did you tried the command line? –  Basharat Sialvi May 26 '13 at 2:33
    
Which command do I use? I honestly want to just clear everything in that folder and although I'm better at Linux than I was, I'm still nowhere near savvy enough to know what to do now. –  user161855 May 26 '13 at 2:42

1 Answer 1

up vote 2 down vote accepted

Deleting the Downloads directory shouldn't cause any errors.

Use the following commands to remove and recreate it:

rm -r /home/username/Downloads
mkdir /home/username/Downloads

Replace username as applicable, or you may use the shortcut ~ (tilde key, at the top left of your keyboard) to replace /home/username, like so:

rm -r ~/Downloads
mkdir ~/Downloads

The Ubuntu Community Help Wiki has a good overview of the terminal commands, if you're curious to learn more about them.

share|improve this answer
1  
OKAY THANK YOU SO MUCH! I'm gonna use search to move out the files I need and then just delete everything else! You were so much help just now! –  user161855 May 26 '13 at 2:49
    
youre welcome. and continue to enjoy using ubuntu –  Aswn May 26 '13 at 2:54
1  
I already do, been using it for almost a year now and it's become my fave after switching from Excalibur reaction face Vista..... –  user161855 May 26 '13 at 2:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.