View Full Version : how to move the cache
Hi
I upgraded my music server (an old laptop running Win2K) to Slimserver to 7.0.1 and it's slowly gobbling up the limited free space on my C: drive with its cache.
I have free space on another drive, but I can't see any way to override the defaults and tell Slimserver where to put the cache?
Can anyone help?
Thanks
Steve
First thing to mention is that SC puts the cache dir in Docs and Settings on C:/ because that's where MS expects it to be, so changing it may have some impact on how well SC runs.
Also, the cache dir shouldn't be that big it takes up significant room - do you have lots of logging options switched on or is it really the cache files?
To answer your specific question, you can start SC from the command line with a custom cache. Try something like:
squeezecenter.exe --cachedir <your prefered cachedir here> --prefsdir <your prefered prefsdir here> --logdir <your prefered logdir here>
rubbermp3
2009-01-15, 15:23
one seemless way (akin to *nix symlinks) is NTFS junctions (special file type -- not shortcuts those are something else). there is a utility at sysinternals (http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx) to create these under WinXP (Vista may already have this). I simply:
- installed SC normally; when i was happy it was working properly, shut it down
- moved the SqueezeCenter folder out of c:\...\AppData to my other spindle (e.g. F:\jct\appdata\SqueezeCenter
- from a cmd prompt ran, junction "c:\Documents and Settings\All Users\Application Data\SqueezeCenter" F:\jct\appdata\SqueezeCenter
- restarted SqueezeCenter
my appdata folder now looks like:
11/25/2008 05:03 PM <DIR> Adobe
12/08/2008 07:48 PM <DIR> Microsoft Corporation
01/15/2009 05:04 PM <JUNCTION> SqueezeCenter
done.
good luck
Jeff Flowerday
2009-06-14, 08:37
one seemless way (akin to *nix symlinks) is NTFS junctions (special file type -- not shortcuts those are something else). there is a utility at sysinternals (http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx) to create these under WinXP (Vista may already have this). I simply:
- installed SC normally; when i was happy it was working properly, shut it down
- moved the SqueezeCenter folder out of c:\...\AppData to my other spindle (e.g. F:\jct\appdata\SqueezeCenter
- from a cmd prompt ran, junction "c:\Documents and Settings\All Users\Application Data\SqueezeCenter" F:\jct\appdata\SqueezeCenter
- restarted SqueezeCenter
my appdata folder now looks like:
11/25/2008 05:03 PM <DIR> Adobe
12/08/2008 07:48 PM <DIR> Microsoft Corporation
01/15/2009 05:04 PM <JUNCTION> SqueezeCenter
done.
good luck
Thanks for this, it worked perfectly.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.