From: Joey Hess Date: Fri, 6 Nov 2009 00:02:51 +0000 (-0500) Subject: response X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/3f2e5abb56efadca99de384ca83ed23e579df915?ds=sidebyside response --- diff --git a/doc/forum/ikiwiki_and_big_files.mdwn b/doc/forum/ikiwiki_and_big_files.mdwn index fdd14eee9..bded60ba0 100644 --- a/doc/forum/ikiwiki_and_big_files.mdwn +++ b/doc/forum/ikiwiki_and_big_files.mdwn @@ -35,3 +35,16 @@ ps. here's how to calculate space taken by html, picture and video files: do find . -iname "*$ext" -exec stat -c "%s" \{\} \; ; done | xargs ); \ do sum=$(( $sum + $size )); done ; echo $sum 1351890888 + +> One approach is to use the [[plugins/underlay]] plugin to +> configure a separate underlay directory, and put the large +> files in there. Those files will then be copied to the generated +> wiki, but need not be kept in revision control. (Or could be +> revision controlled in a separate repository -- perhaps one using +> a version control system that handles large files better than git; +> or perhaps one that you periodically blow away the old history to +> in order to save space.) +> +> BTW, the `hardlink` setting is a good thing to enable if you +> have large files, as it saves both disk space and copying time. +> --[[Joey]]