mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
commit
b30d67b834
2
build.py
2
build.py
@ -70,7 +70,7 @@ def build_help():
|
|||||||
help_basepath = op.join(current_path, "help", "en")
|
help_basepath = op.join(current_path, "help", "en")
|
||||||
help_destpath = op.join(current_path, "build", "help")
|
help_destpath = op.join(current_path, "build", "help")
|
||||||
changelog_path = op.join(current_path, "help", "changelog")
|
changelog_path = op.join(current_path, "help", "changelog")
|
||||||
tixurl = "https://github.com/hsoft/dupeguru/issues/{}"
|
tixurl = "https://github.com/arsenetar/dupeguru/issues/{}"
|
||||||
confrepl = {"language": "en"}
|
confrepl = {"language": "en"}
|
||||||
changelogtmpl = op.join(current_path, "help", "changelog.tmpl")
|
changelogtmpl = op.join(current_path, "help", "changelog.tmpl")
|
||||||
conftmpl = op.join(current_path, "help", "conf.tmpl")
|
conftmpl = op.join(current_path, "help", "conf.tmpl")
|
||||||
|
@ -335,7 +335,7 @@ class DirectoriesDialog(QMainWindow):
|
|||||||
|
|
||||||
def loadDirectoriesTriggered(self):
|
def loadDirectoriesTriggered(self):
|
||||||
title = tr("Select a directories file to load")
|
title = tr("Select a directories file to load")
|
||||||
files = ";;".join([tr("dupeGuru Results (*.dupegurudirs)"), tr("All Files (*.*)")])
|
files = ";;".join([tr("dupeGuru Directories (*.dupegurudirs)"), tr("All Files (*.*)")])
|
||||||
destination = QFileDialog.getOpenFileName(self, title, "", files)[0]
|
destination = QFileDialog.getOpenFileName(self, title, "", files)[0]
|
||||||
if destination:
|
if destination:
|
||||||
self.app.model.load_directories(destination)
|
self.app.model.load_directories(destination)
|
||||||
|
@ -152,14 +152,14 @@ class ExcludeListDialog(QDialog):
|
|||||||
self.app.show_message(tr("""\
|
self.app.show_message(tr("""\
|
||||||
These (case sensitive) python regular expressions will filter out files during scans.<br>\
|
These (case sensitive) python regular expressions will filter out files during scans.<br>\
|
||||||
Directores will also have their <strong>default state</strong> set to Excluded \
|
Directores will also have their <strong>default state</strong> set to Excluded \
|
||||||
in the Directories tab if their name happen to match one of the regular expressions.<br>\
|
in the Directories tab if their name happens to match one of the selected regular expressions.<br>\
|
||||||
For each file collected two tests are perfomed on each of them to determine whether or not to filter them out:<br>\
|
For each file collected, two tests are performed to determine whether or not to completely ignore it:<br>\
|
||||||
<li>1. Regular expressions with no path separator in them will be compared to the file name only.</li>
|
<li>1. Regular expressions with no path separator in them will be compared to the file name only.</li>
|
||||||
<li>2. Regular expressions with no path separator in them will be compared to the full path to the file.</li><br>
|
<li>2. Regular expressions with at least one path separator in them will be compared to the full path to the file.</li><br>
|
||||||
Example: if you want to filter out .PNG files from the "My Pictures" directory only:<br>\
|
Example: if you want to filter out .PNG files from the "My Pictures" directory only:<br>\
|
||||||
<code>.*My\\sPictures\\\\.*\\.png</code><br><br>\
|
<code>.*My\\sPictures\\\\.*\\.png</code><br><br>\
|
||||||
You can test the regular expression with the test string feature by pasting a fake path in it:<br>\
|
You can test the regular expression with the "test string" button after pasting a fake path in the test field:<br>\
|
||||||
<code>C:\\\\User\\My Pictures\\test.png</code><br><br>
|
<code>C:\\\\User\\My Pictures\\test.png</code><br><br>
|
||||||
Matching regular expressions will be highlighted.<br>\
|
Matching regular expressions will be highlighted.<br>\
|
||||||
If there is at least one highlight, the path tested will be ignored during scans.<br><br>\
|
If there is at least one highlight, the path or filename tested will be ignored during scans.<br><br>\
|
||||||
Directories and files starting with a period '.' are filtered out by default.<br><br>"""))
|
Directories and files starting with a period '.' are filtered out by default.<br><br>"""))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user