The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   Moving Applications (http://hintsforums.macworld.com/showthread.php?t=80167)

photoguy76 10-29-2007 02:10 PM

Moving Applications
 
Hi,

When I first got my PowerBook G4 I thought it would be a good idea to partition my hard drive into 3: OS, Apps and Data. However, I have been running out of space and need to do some consolidating and want to move some apps onto the the same partition that the OS is on (running Leopard). These apps include Adobe Photoshop CS3 etc. Apple apps are already on the OS partition.

My only problem is that after moving the application, in this case, PS CS3, I get the following message consistently when opening:

Application Has Moved
This application has been moved from the locaton in which it was originally installed. Some settings need to be repaired

Cancel Repair Now

I click Repair Now and Photoshop opens and works just fine, but when I close it and re-open it at a later time, the same thing happens.

Is there something I need to change so that I don't have this ongoing drama?

Thanks,

John

benwiggy 10-29-2007 03:55 PM

Quote:

Originally Posted by photoguy76 (Post 419137)
When I first got my PowerBook G4 I thought it would be a good idea to partition my hard drive into 3: OS, Apps and Data.

What made you think that?:p
I suspect that the quickest way to sort this out is just to re-install Creative Suite. CS3 installs all sorts of stuff in various parts of the computer, and seemingly does care where it is put.
You could Repar disk permissions and try your luck at trashing some of the preference files for Photoshop/CS3, either in /Library/Application Support/Adobe; or ~//Library/Application Support/Adobe; or ~/Library/Preferences.
However, you may well break something else and need to reinstall anyway.

If you do want to put stuff on other disks, the best way would be to make a symbolic link to another drive in the place of the Applications folder. That way, the system will treat the other drive as the Applications folder.

raymondlewisjone 10-29-2007 04:02 PM

Yes, good thought benwiggy.

in Terminal do:
ln -s /Volumes/YourPartition/Applications /

Of course, consolidate you app folder to the partition first.

this is how I managed to let all users on my machine at home use the same iTunes library and iPhoto library. In short, when my fiance adds music to iTunes on her user, it is also, added to my library. Same playlists and everything. Same with iPhoto.

photoguy76 10-29-2007 05:13 PM

Being the green horn that I am, what do you mean that I should:

Quote:

make a symbolic link to another drive in the place of the Applications folder. That way, the system will treat the other drive as the Applications folder.

benwiggy 10-30-2007 06:27 AM

OK, a symbolic link is essentially a hardcore unix version of an alias.
The idea is to replace your current /Applications folder with a sym link that points to an alternative Applications folder on another partition or drive.
First, copy everything out of /Applications, as you must then delete this folder before recreating it as a symbolic link.
In the Terminal, navigate to the top of your system disk, by typing:
Code:

cd /
To make the link, type:
Code:

ln -s /Volumes/YourPartition/Applications/
If you are not sure of the pathname to the folder, you can just type in "ln -s ", (note the space) and then drag the Applications folder from your other partition onto the Terminal window, and it will fill in the correct filepath for you.
Then press return.
After this, the System Applications folder points to your other partition, so that as far as the OS is concerned, /Applications is the same as /Volumes/YourPartition/Applications

iampete 10-30-2007 08:58 AM

benwiggy & raymondlewisjones -

Any particular reason why just a plain vanilla alias (name fixed to just "Applications") wouldn't work??

I've done this in the past (10.4 and earlier) with my Music and Documents folder using just a standard alias (called Music and Documents (DOH !!), respectively) when I had two small drives. I don't recall any problems related to that. Was I just lucky or ???

Pete

raymondlewisjone 10-30-2007 09:25 AM

Oh, if it works then do it that way. The sym link is something that can handle unix commands and such. An alias is treated as a file and the sym link can be treated as a directory.

benwiggy 10-30-2007 11:56 AM

Well, if it's just documents that other apps are opening, then an alias may well suffice. But if it is a location from where apps -- processes are being run, whose pathway the system is likely to call, then sym links is the way to go.

photoguy76 10-30-2007 11:05 PM

Ok, so I am trying to create this symbolic link. I moved all the data from a partition called "Data" to "OS" and then trashed the folder called Applications in "Data", rebooted and emptied the trash. Next I opened up console and typed:

ln -s /Volumes/Data/Applications/ and I get the following message:

ln: ./: File exists

How can it exist if I deleted it?

Las_Vegas 10-31-2007 01:45 AM

Your not entering the command properly. You want to make an symbolic link of the folder, not its contents.

ln -s /Volumes/Data/Applications /Applications

photoguy76 10-31-2007 10:12 AM

Thanks for your sage advice, but I continue to have issues. Once again I entered the command

Macintosh-2:/ username$ ln -s /Volumes/Data/Applications /Applications

In response I get this:

ln: /Applications/Applications: File exists

Where am I screwing up?

Las_Vegas 10-31-2007 11:31 AM

You put no space between the fist '/Applications' and the second.

photoguy76 10-31-2007 02:52 PM

Urgh..guess i am just not getting it :( Sorry

This was my entry and the result:

Quote:

-s /Volumes/Data/Applications/Applications
ln: ./Applications: File exists

trevor 10-31-2007 03:21 PM

photoguy76, why don't you copy/paste the command from the Las_Vegas' post in the forum into your Terminal? You don't seem to be understanding the issue with your current transcription, so avoiding a transcription should solve the issue, and help avoid any extra typing.

Otherwise, if you need to type it yourself, here is the command really big so that you can see the space that you are missing:

ln -s /Volumes/Data/Applications /Applications

See the space between /Applications and /Applications?

Trevor

photoguy76 10-31-2007 06:31 PM

Thank you for the LARGE type and Yes, I do see it, but if you bothered to read an earlier post, you would see that I included the space and still got an error message. See my message at 9:12 AM today. :mad:

In fact here is the log from my console after attempting it again:

Quote:

Last login: Wed Oct 31 17:22:25 on console
Macintosh-2:~ photoguy76$ cd /
Macintosh-2:/ photoguy76$ ln -s /Volumes/Data/Applications /Applications
ln: /Applications/Applications: File exists
Macintosh-2:/ photoguy76$

Las_Vegas 10-31-2007 10:24 PM

Rename your old Applications folder before replacing it with a symbolic link. IE:

cd /
sudo mv -r Applications Applications(old)
ln -s Volumes/Data/Applications Applications

Once the new Applications link is working to your expectations, you can dispose of the old Applications folder.

Note the lack of the leading slash. Since you previously entered "cd /", the leading slash is unnecessary.

photoguy76 10-31-2007 10:52 PM

Sorry to be a pain in the you-know-where: I copied and pasted. The results are:

Last login: Wed Oct 31 21:41:12 on ttys000
Macintosh-2:~ photoguy76$ cd /
Macintosh-2:/ photoguy76$ sudo mv -r Applications Applications(old)
-bash: syntax error near unexpected token `('
Macintosh-2:/ photoguy76$

At this rate I need my own bulletin board! Thx for your time

Las_Vegas 11-01-2007 02:17 AM

Derned! Try this then…

cd /
sudo mv -r Applications 'Applications(old)'
ln -s Volumes/Data/Applications Applications

Sorry… Apparently, bash doesn't like parenthesis. The quotes will take care of that.

photoguy76 11-01-2007 10:28 AM

L_V,

Here is the result:

Last login: Thu Nov 1 09:22:48 on ttys000
Macintosh-2:~ photoguy76$ cd /
Macintosh-2:/ photoguy76$ sudo mv -r Applications 'Applications(old)'
mv: illegal option -- r
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory

*Banging Head*

son_t 11-01-2007 10:42 AM

Try the 'mv' without the -r

sudo mv Applications Application_old

baf 11-01-2007 10:47 AM

Forget the '-r' it shouldn't be there.

cd /
sudo mv Applications 'Applications(old)'

photoguy76 11-01-2007 02:36 PM

Awesome. Thanks that worked. Now to see if the link does what it is supposed to do ;)

Las_Vegas 11-01-2007 07:06 PM

Quote:

Originally Posted by baf (Post 420366)
Forget the '-r' it shouldn't be there.

Sorry… My goof.

photoguy76 11-01-2007 10:36 PM

thx for your help. much obliged.

ox4dboy 07-02-2008 10:09 PM

Quote:

Application Has Moved
This application has been moved from the location in which it was originally installed. Some settings need to be repaired
Anyone have a solution for the error ("quoted" above) that was originally posted?


All times are GMT -5. The time now is 10:16 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.