- Keeping {{count.keep}} files in storage path and deleting {{count.del}} from import path
-
- {% set count.keep=0 %}
- {% set count.del=0 %}
+ {% if count.keep %}
+ {% set auto.str = auto.str + "
@@ -127,36 +124,55 @@
{% endif %}
{% endfor %}
-
- Matched preference regexp: Keep={{count.keep}}, Deleting={{count.del}}
-
+ {% if count.keep %}
+ {% set auto.str = auto.str + "
Duplicates in storage path matching naming convention: Keep={}, Delete={}".format(count.keep, count.del) %}
+ {% endif %}
+ {% set count=namespace( del=0, keep=0 ) %}
{% if page.cnt < pagesize %}
-
Choose path to KEEP (same file names in 2 different directories):
{% for dup in DD.per_path_dups %}
+ {% if DD.preferred_path[dup.did1] or DD.preferred_path[dup.did2] %}
+
+
+ {% if DD.preferred_path[dup.did1] %}
+
+ {% else %}
+
+ {% endif %}
+ {% set count.keep = count.keep + 1 %}
+ {% else %}
+
Choose path to KEEP (same file names in 2 different directories):
{{dup.count}} duplicates in:
{{dup.d1}} or
{{dup.d2}}
-
+
+ {% endif %}
{% set page.cnt = page.cnt + 1 %}
{% if page.cnt == pagesize %}
{% break %}
{% endif %}
{% endfor %}
{% endif %}
+ {% if count.keep %}
+
+ {% set auto.str = auto.str + "
Keeping={}, Deleting={} paths of duplicates".format(count.keep, count.keep) %}
+
+ {% endif %}
+ {% if auto.str|length %}
+
AUTOMATICALLY matched naming conventions resulting in:
+
+
+ {% endif %}
+