|
#1
| |||
| |||
| I am attempting to remove an application (NeoOffice) from several Macs on our network via ARD. I thought I would have an attempt at using sending a unix shell command from within ARD to remote Macs. I typed in 'rm -f /Applications/NeoOffice ARD told me that the command was sucessful but when I did a search on the remote Mac, this application was STILL in the Applications folder. Does anybody else have any suggestions on how to resolve this ? Many thanks |
|
#2
| ||||
| ||||
| If the application is a package, it's actually a folder, and you'll also need to specify the "-r" switch ("recursive") for the "rm" command, like so: Code: rm -rf /Applications/NeoOffice/
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#3
| |||
| |||
| Thanks for that. The command executed but got loads of permission errors. Used same line but with sudo before it so I was prompted for the super user password when the command executed and boom!, the application was removed. Thanks for your help. |
|
#4
| |||
| |||
| This worked on the local machine when using Terminal but when trying the same command via ARD even when you select to run as root, it says its succeeded but its clearly not. And how can you select to run the script as root from ARD without using a password ??!!! Very confused! |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command line ftp? | Mac Osxtopus | Unix & X11 | 5 | August 27th, 2002 08:55 AM |
| Command Line? | unlearnthetruth | Mac OS X System & Mac Software | 4 | February 20th, 2002 01:33 AM |
| command line->GUI? | macavenger | Software Programming & Web Scripting | 1 | January 27th, 2002 04:43 PM |
| Icon to start a command line application | hugheba | Software Programming & Web Scripting | 1 | June 8th, 2001 05:30 PM |
| Remove Pepper as .java def application | lelereb | Mac OS X System & Mac Software | 0 | April 1st, 2001 11:03 AM |