|
|
Unison cache question
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status:
Offline
|
|
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?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2001
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status:
Offline
|
|
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?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Feb 2002
Location: Yorktown, VA
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jan 2002
Location: Washington DC
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|