]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/forum/ikiwiki_and_big_files.mdwn
response
[ikiwiki.git] / doc / forum / ikiwiki_and_big_files.mdwn
index fdd14eee95c567400b01fe9b31ff450f92bf532d..bded60ba0f810b7a7fb6718ab2ad2325571b89f3 100644 (file)
@@ -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
     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]]