From b6f60de37d172789f60dee0050e5bcc2beb4260d Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 24 Nov 2014 22:31:59 +0100 Subject: 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 --- settings.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'settings.h') diff --git a/settings.h b/settings.h index 75489b7..7d64a09 100644 --- a/settings.h +++ b/settings.h @@ -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 */ -- cgit v1.2.1