Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Deleting a Folder Using Terminal

Hi all,

I recently got "blue screened" and can't start my computer... it's been very scary!

The best solution I found was to reinstall Snow Leopard, but I don't have enough space on my hard drive...

SO, I'd like to delete a specific folder (one of the artists in my iTunes music folder). Can someone explain how to do this?

Right now, in Terminal all I see is:

-bash-3.2#

If you can explain this in super-layman's terms, I'd REALLY appreciate it!!!

Thank you so much for your help

Macbook Pro, Mac OS X (10.5.8)

Posted on Apr 20, 2010 9:40 PM

Reply
Question marked as Best reply

Posted on Apr 20, 2010 10:21 PM

rm -R /Users/shortname/Music/iTunes/iTunes\ Music/name-of-artist


Where shortname is your short user name.
name-of-artist is the name of the artist you wish to remove.
The name is case sensitive and if it contains spaces you will need
to escape them e.g. "The\ Beatles".

*If you get the command wrong you can do major damage...*

Work out what you think the command should be and post it here to
see if there is anything obviously wrong with it -- just to be sure.

Dave
20 replies

Deleting a Folder Using Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.