Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'The Unix way...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The Unix way...
Authored by: mholve on Feb 20, '03 11:13:31AM

Why not do it the Unix way? ANY file that you don't want to grow, simply symlink it to the ol' bitbucket. Any data sent to the file will just vanish into the ether.

ln -s /dev/null /path/to/cachefile


---
--
Everything Mac - http://everythingmac.org



[ Reply to This | # ]
The Unix way...
Authored by: ppatoray on Feb 20, '03 05:50:37PM

I knew that there would be a better way to do this, but I am still getting used to using UNIX, and am learning things as the need or occasion arises. Thanks for the tip!

Patrick



[ Reply to This | # ]
The Unix way...
Authored by: artur9 on Feb 20, '03 09:37:28PM

Well, unfortunately, the Safari cache is not a single file. It's a directory of directories etc, etc, etc. So, it's not a growing file that you can just point at the bitbucker.

In other news, if you "Empty Cache..." Safari will delete this file and you'll have to make it over again.



[ Reply to This | # ]
The Unix way...
Authored by: xtchall on Jan 07, '06 11:39:28PM

me thinks you mean.. ln -s /dev/null ~/Library/Caches/Safari

maybe try this.. rm -fPr ~/Library/Caches/Safari;ln -s /dev/null ~/Library/Caches/Safari



[ Reply to This | # ]