Posted on 08-07-2013 06:24 AM
I have what I thought was a non issue.. but for the life of me I cannot get a command to run right.
in the applications folder i have two similar items:
drwxr-xr-x 5 admin admin 170B Sep 23 2011 SimBio Virtual Labs
drwxr-xr-x 5 admin staff 170B Aug 7 09:07 SimBio Virtual Labs.app
I need to delete the SimBio Virtual Labs folder.... not the app. If i try to path it out the OS just spits back no such file directory...
it seem to identify the folder and app separately: SimBio Virtual Labs / SimBio Virtual Labs.app/ but will not take the command to delete the folder
is there a way to specify the target as the folder?
thanks
Solved! Go to Solution.
Posted on 08-07-2013 09:02 AM
the real question is why it didn't occur to me to delete the <expletive delted> .app FIRST. thanks for the help all.
for those still reading along:
rm -r /Applications/SimBio Virtual Labs.app
rm -r /Applications/Mitosis and Meiosis Explored.app
rm -r /Applications/SimBio Virtual Labs /
Posted on 08-07-2013 06:26 AM
egads how do you correct spelling in a title???
Posted on 08-07-2013 06:27 AM
Can you post the command you are using to delete it? I am not aware of any reason it should matter that there is an app with a similar name, since they are discrete elements.
Posted on 08-07-2013 06:56 AM
find /Applications -name "SimBio Virtual Labs" -maxdepth 1 -delete
Should do the trick.
Posted on 08-07-2013 07:14 AM
rm -r /Path/To/SimBio Virtual Labs
should work, right?
Posted on 08-07-2013 07:36 AM
You may want to do it as ```
rm -frd .....
```
Posted on 08-07-2013 08:52 AM
rm -r was what I assumed would work.
tried: find /Applications -name "SimBio Virtual Labs" -maxdepth 1 -delete no dice
also tried the added switches to rm suggested.
there is nothing special that I can see about this directory. it was garbage left behind from an old package of the simbio apps.
thanks for the replies
Posted on 08-07-2013 08:55 AM
If I first delete the .app file then a regular rm -r will kill the directory.... but not the other way around. :-
Posted on 08-07-2013 09:02 AM
the real question is why it didn't occur to me to delete the <expletive delted> .app FIRST. thanks for the help all.
for those still reading along:
rm -r /Applications/SimBio Virtual Labs.app
rm -r /Applications/Mitosis and Meiosis Explored.app
rm -r /Applications/SimBio Virtual Labs /
Posted on 08-07-2013 09:43 AM
That's odd... makes no sense to me. Doesn't really matter which order though, unless you come across a situation where you want to leave the .app in place.
Is there really a space after Labs?
Posted on 08-07-2013 11:25 AM
very odd. as near as I can tell the Finder see no space.. but it looks like there is a space if i look at it via the terminal.