diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-11-24 22:31:59 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2015-09-02 00:12:01 +0200 |
commit | b6f60de37d172789f60dee0050e5bcc2beb4260d (patch) | |
tree | d4c0e6587d3c5f00f19737fd93c36f1fa8ebd9ea /settings.h | |
parent | 5cdbdd2ccd5c909c49d843ab176a4d35b2e308a7 (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 'settings.h')
-rw-r--r-- | settings.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -22,10 +22,11 @@ /* Data structure to hold metastore settings */ struct metasettings { - char *metafile; /* path to the file containing the metadata */ - bool do_mtime; /* should mtimes be corrected? */ - bool do_emptydirs; /* should empty dirs be recreated? */ - bool do_git; /* should .git dirs be processed? */ + char *metafile; /* path to the file containing the metadata */ + bool do_mtime; /* should mtimes be corrected? */ + bool do_emptydirs; /* should empty dirs be recreated? */ + bool do_removeemptydirs; /* should new empty dirs be removed? */ + bool do_git; /* should .git dirs be processed? */ }; /* Convenient typedef for immutable settings */ |