Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Can folders be removed via terminal


  • Please log in to reply
3 replies to this topic

#1 MaryBet82

MaryBet82

  • Members
  • 438 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:07:27 PM

Posted 15 November 2010 - 03:24 PM

I tried the rm -d command, but it said the folders weren't empty. I couldn't find a way to remove the "," or ".." or to see them listed.
mac 10.6 on macbook pro
WinXP sp2 on Dell 380 w/ 512 MB RAM- currently dead in the water
WinXP tab ed sp 3 on Thinkpad X41 w/ 1.5 GB RAM - lemony flavored
Win2K Sp4 on Sony VAIO GXR600 w/ 512 MB RAM - currently blue screening

BC AdBot (Login to Remove)

 


#2 MaryBet82

MaryBet82
  • Topic Starter

  • Members
  • 438 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:07:27 PM

Posted 18 November 2010 - 05:35 PM

rm -r works.
mac 10.6 on macbook pro
WinXP sp2 on Dell 380 w/ 512 MB RAM- currently dead in the water
WinXP tab ed sp 3 on Thinkpad X41 w/ 1.5 GB RAM - lemony flavored
Win2K Sp4 on Sony VAIO GXR600 w/ 512 MB RAM - currently blue screening

#3 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,250 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:05:27 PM

Posted 18 November 2010 - 05:44 PM

If I recall correctly, Mac OS X uses BASH (or a compatible shell) for its terminal. Here's a list of some of the more common commands: http://ss64.com/osx/

And be careful with rm -r; always double check that you're deleting what you think you're deleting! (I learned that the hard way)

#4 MaryBet82

MaryBet82
  • Topic Starter

  • Members
  • 438 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:07:27 PM

Posted 19 November 2010 - 10:21 AM

Thanks Andrew,

That list was what I was looking for unsuccessfully via google. So far I've found the man pages very difficult to understand and some of them seem to stop in mid-sentence.
mac 10.6 on macbook pro
WinXP sp2 on Dell 380 w/ 512 MB RAM- currently dead in the water
WinXP tab ed sp 3 on Thinkpad X41 w/ 1.5 GB RAM - lemony flavored
Win2K Sp4 on Sony VAIO GXR600 w/ 512 MB RAM - currently blue screening




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users