diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-05 19:02:51 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-05 19:02:51 -0500 |
commit | 3f2e5abb56efadca99de384ca83ed23e579df915 (patch) | |
tree | 5f804b126490e3ee125772867ee7d344c2b964a9 /doc | |
parent | 4be740cc9112789e0a6b2a903d1717b3c584286e (diff) |
response
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/ikiwiki_and_big_files.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
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]] |