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 > Applications > Unison cache question

Unison cache question
Thread Tools
gbhgbh
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status: Offline
Reply With Quote
Jan 6, 2005, 09:41 PM
 
I'd like to store the cache for Unison on an external drive rather than in my home directory. Are these the correct steps?
1. Drag the cache folder to the external drive
2. Delete the original directory
3. Open Terminal App and cd to the external drive
4. Enter the command "ln -s Unison ~/Library/Cache/Unison"

Will this now store the cache files on the external drive?
     
CatOne
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Jan 7, 2005, 11:45 AM
 
Originally posted by gbhgbh:
I'd like to store the cache for Unison on an external drive rather than in my home directory. Are these the correct steps?
1. Drag the cache folder to the external drive
2. Delete the original directory
3. Open Terminal App and cd to the external drive
4. Enter the command "ln -s Unison ~/Library/Cache/Unison"

Will this now store the cache files on the external drive?
You're going to need the ABSOLUTE path in the ln statemement. For example:

ln -s /Volumes/myDrive/Unison ~/Library/Cache/Unison

and that's if you're storing the caches at the root of the drive (probably not the best idea... it will get very cluttered).

Can't see why this wouldn't work though. The App's not going to know any different.
     
gbhgbh  (op)
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status: Offline
Reply With Quote
Jan 7, 2005, 08:08 PM
 
I tried it using the full path name for both the target and the source:
ln -s /Volumes/myDrive/Unison /Users/myHomeFolder/Library/Caches/Unison

but got this error message:
ln: /Users/myHomeFolder/Library/Caches/Unison/: No such file or directory

So I recreated the Unison folder in the path above, but got this error:
ln: /Users/myHomeFolder/Library/Caches/Unison//: File exists

Why is this not letting me create the link?
     
lavar78
Professional Poster
Join Date: Feb 2002
Location: Yorktown, VA
Status: Offline
Reply With Quote
Jan 7, 2005, 08:47 PM
 
Originally posted by gbhgbh:
I tried it using the full path name for both the target and the source:
ln -s /Volumes/myDrive/Unison /Users/myHomeFolder/Library/Caches/Unison

but got this error message:
ln: /Users/myHomeFolder/Library/Caches/Unison/: No such file or directory

So I recreated the Unison folder in the path above, but got this error:
ln: /Users/myHomeFolder/Library/Caches/Unison//: File exists

Why is this not letting me create the link?
Well, why didn't you try what CatOne had?

ln -s /Volumes/myDrive/Unison ~/Library/Cache/Unison

Also, is that supposed to be "Cache" or "Caches"?

"I'm virtually bursting with adequatulence!" - Bill McNeal, NewsRadio
     
gbhgbh  (op)
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status: Offline
Reply With Quote
Jan 7, 2005, 10:17 PM
 
It's Caches, however I got it to work. The problem was that I typed a trailing "/" after Unison in the target operand. Removing that allowed it to work.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 02:00 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,