summaryrefslogtreecommitdiff
path: root/metastore.1
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-11-24 22:31:59 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-09-02 00:12:01 +0200
commitb6f60de37d172789f60dee0050e5bcc2beb4260d (patch)
treed4c0e6587d3c5f00f19737fd93c36f1fa8ebd9ea /metastore.1
parent5cdbdd2ccd5c909c49d843ab176a4d35b2e308a7 (diff)
Add support for deleting directories with -a -E.
This is analagous to the -e option to create empty directories. It simply removes them when they are not present in the metadata. Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
Diffstat (limited to 'metastore.1')
-rw-r--r--metastore.18
1 files changed, 6 insertions, 2 deletions
diff --git a/metastore.1 b/metastore.1
index d628d3c..d6c561e 100644
--- a/metastore.1
+++ b/metastore.1
@@ -1,4 +1,4 @@
-.TH metastore "1" "February 2012"
+.TH metastore "2" "September 2015"
.\"
.SH NAME
metastore \- stores and restores filesystem metadata
@@ -46,7 +46,11 @@ Causes metastore to also take mtime into account for the compare or apply action
Also attempts to recreate missing empty directories. May be useful where
empty directories are not tracked (e.g. by git or cvs).
Only works in combination with the \fBapply\fR option.
-This is currently an experimental feature.
+.TP
+.B -E, --remove-empty-dirs
+Also attempts to remove empty directories missing from the metadata. May be
+useful where empty directories are not tracked (e.g. by git or cvs). Only
+works in combination with the \fBapply\fR option.
.TP
.B \-g, \-\-git
Prevents metastore from omitting .git directories.