So, I've been downloading a few new apps for the iPads and have just been notified that I'm using too much disk space. So, looking into where the apps are stored I found this folder:
~Music/iTunes/iTunes\ Media/Mobile\ Applications
Thought I'd move this to the local drive and make a symlink:
ln -s /Volumes/Scratch\ Disk/Stephen/Mobile\ Applications /Network/Servers/appleton.chesterfield.ac.uk/home2\$/LeachS/Music/iTunes/iTunes\ Media
Yep, still works. So all is good.
A catalogue of 'stuff' which somehow will help me through life by helping me remember problems I've solved, how I solved them and thoughts which will be otherwise forgotten (some of which might be of use later on).
Showing posts with label ln. Show all posts
Showing posts with label ln. Show all posts
Wednesday, 15 February 2012
iTunes Apps folder on OS X
Tuesday, 1 November 2011
Can't place images in Illustrator - blank box - OS X 10.6.6 Active Directory
I had this problem a few years ago, and it's recently popped up again. The problem is that when Active Directory Users (with home drives on Windows servers) try and place a picture within an Illustrator document, they just get a blank box with an X through it.
The way I found in fixing it previously was to install NHR (previously documented in my blog), which basically replaces the ~/Library/Caches folder with a symlink to a temporary folder on the local hard drive. It then deleted this when the networked user logged out.
The trouble I'm having now is that I can't get NHR to work with OS X 10.6.6. It simply doesn't want to run on login, maybe not even at all. The work around that I'm formulating is to simply make a little shell script which runs at login and does what NHR did.
I've now made a little Automator application which runs the terminal script:
mkdir /Users/Shared/temp
mkdir /Users/Shared/temp/Caches
rm -R ~/Library/Caches
ln -s /Users/Shared/temp/Caches ~/Library/
This has fixed the problem with the users who run the Automator Application, although when they login to a machine which doesn't have this "/Users/Shared/temp/Caches" folder they will encounter problems.
I shall make a new post describing how I made the startup script.
The way I found in fixing it previously was to install NHR (previously documented in my blog), which basically replaces the ~/Library/Caches folder with a symlink to a temporary folder on the local hard drive. It then deleted this when the networked user logged out.
The trouble I'm having now is that I can't get NHR to work with OS X 10.6.6. It simply doesn't want to run on login, maybe not even at all. The work around that I'm formulating is to simply make a little shell script which runs at login and does what NHR did.
I've now made a little Automator application which runs the terminal script:
mkdir /Users/Shared/temp
mkdir /Users/Shared/temp/Caches
rm -R ~/Library/Caches
ln -s /Users/Shared/temp/Caches ~/Library/
This has fixed the problem with the users who run the Automator Application, although when they login to a machine which doesn't have this "/Users/Shared/temp/Caches" folder they will encounter problems.
I shall make a new post describing how I made the startup script.
Labels:
10.6.6,
Automator,
Command Line,
illustrator,
ln,
NHR,
OS X,
script,
symbolic link,
symlink,
terminal
Subscribe to:
Posts (Atom)
