diff templates/guide/index.html @ 419:19a6c35d52ff

note how to create .keep files in every empty folder.
author drak@kaverne
date Thu, 18 Sep 2014 11:52:53 +0200
parents 005d07dfce2b
children 934061e0f672
line wrap: on
line diff
--- a/templates/guide/index.html	Thu Sep 18 10:58:39 2014 +0200
+++ b/templates/guide/index.html	Thu Sep 18 11:52:53 2014 +0200
@@ -598,6 +598,14 @@
 $ hg commit -m "ensure that emptyfolder is available." emptyfolder/.keep
 
 </pre>
+
+To create <code>.keep</code> files for every empty folder, you can use
+the following command:
+
+<pre>$ find . -type d -empty -exec touch {}/.keep \;
+
+</pre>
+
 </div>
 
 <h5>Rollback mistakes</h5>