mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 19:54:54 -06:00
Automatically exclude .duplicacy directory only, if nobackup_file is not
set.
This commit is contained in:
@@ -481,7 +481,7 @@ func ListEntries(top string, path string, fileList *[]*Entry, patterns []string,
|
||||
entries := make([]*Entry, 0, 4)
|
||||
|
||||
for _, f := range files {
|
||||
if f.Name() == DUPLICACY_DIRECTORY {
|
||||
if (f.Name() == DUPLICACY_DIRECTORY) && (nobackupFile == "") {
|
||||
continue
|
||||
}
|
||||
entry := CreateEntryFromFileInfo(f, normalizedPath)
|
||||
|
||||
Reference in New Issue
Block a user