summaryrefslogtreecommitdiff
path: root/metastore.1
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2008-06-23 22:24:11 +0200
committerDavid Härdeman <david@hardeman.nu>2008-06-23 22:24:11 +0200
commite4910c9e5cae89691512bec4145f66b63e406936 (patch)
treec014857f5d7ced6557577746b70fbbc51f11ab00 /metastore.1
parented7e4217e2eae466bab88cd425c71ac22a0340c5 (diff)
Add dynamic metafile path
In some situations it may be useful to have multiple sets of metadata for the same hierarchy (e.g. representing how a file set should appear on different hosts). The ability to select a metadata file may be useful in this case. Patch by Sergio Callegari <sergio.callegari@gmail.com>
Diffstat (limited to 'metastore.1')
-rw-r--r--metastore.17
1 files changed, 6 insertions, 1 deletions
diff --git a/metastore.1 b/metastore.1
index eeecdc9..316f4b4 100644
--- a/metastore.1
+++ b/metastore.1
@@ -20,7 +20,8 @@ stored metadata to make sure that system security is not compromised.
Shows the difference between the stored and real metadata.
.TP
.B -s, --save
-Saves the current metadata to ./.metadata.
+Saves the current metadata to ./.metadata or to the specified file
+(see --file option below).
.TP
.B -a, --apply
Attempts to apply the stored metadata to the file system.
@@ -46,6 +47,10 @@ 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 -f <file>, --file <file>
+Causes the metadata to be saved, read from the specified file rather
+than ./.metadata.
.\"
.SH PATHS
If no path is specified, metastore will use the current directory as the basis