Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Killing/Copying/Moving files/folders/disks with a split name...

Killing/Copying/Moving files/folders/disks with a split name...
Thread Tools
Forum Regular
Join Date: Jan 2004
Status: Offline
Reply With Quote
Jan 29, 2004, 04:42 AM
 
Hi all,

Could someone tell me how I would kill a proccess by name not by pid that has a space in the name? Like a proccess called "Another Launcher". If you where to use "killall -9 Another Launcher" it wouldnt be recognised. Also when cding to a folder or disk with a split name.... How do I do this?

Thanks
     
Forum Regular
Join Date: Aug 2001
Location: Oz
Status: Offline
Reply With Quote
Jan 29, 2004, 05:13 AM
 
Precede the space with a backslash, eg: Another\ Launcher.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 29, 2004, 08:32 AM
 
Originally posted by TommyLeeRoth:
Precede the space with a backslash, eg: Another\ Launcher.
Another option is to enclose the filename in quotes. e.g.

killall -9 "Another Launcher"

Be very careful of killall though. I never use it, using ps and then killing by PID.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Pix0r  (op)
Forum Regular
Join Date: Jan 2004
Status: Offline
Reply With Quote
Jan 29, 2004, 08:49 AM
 
Thanks guys, I know it's n00b stuff so I'm glad you answered Whats wrong with killall? I've never had problems...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:57 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2