mirror of
https://git.srhtnin.garden/sarah/SaraSortd.git
synced 2026-10-14 10:48:11 +02:00
Todo: README.md
This commit is contained in:
1 parent
3b06574b62
commit
fda62dd53c
3 files changed
+6
-2
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
Title = "SaraSortd Config"
|
||||
SafeMode = 1
|
||||
SilentMode = 0
|
||||
CheckInput = 10
|
||||
CheckInput = 3
|
||||
DotFiles = 1
|
||||
|
||||
[Variables]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
Title = "Unset"
|
||||
|
||||
Files = [
|
||||
{Pattern = "*.png", NewFileName = "~^", NextNum = 1, NextChar = "A"},
|
||||
{Pattern = "*", NewFileName = "~^", NextNum = 1, NextChar = "A"},
|
||||
]
|
||||
|
||||
LastFile = "Unset"
|
||||
|
||||
@@ -242,6 +242,10 @@ def Sort(FilePath):
|
||||
Dir(Parse(String = ConfDirs["FailedDir"]), Output = False, CopyConf = False)
|
||||
NewName = os.path.basename(FilePath)
|
||||
Clone(FilePath, Parse(String = ConfDirs["FailedDir"]), NewName, True)
|
||||
|
||||
TextOutput = Parse(String = ConfLog["NotSorted"], VarCall = FilePath)
|
||||
LogWrite(TextOutput)
|
||||
Speak(TextOutput)
|
||||
return
|
||||
|
||||
NewDirPath = os.path.dirname(NewPath)
|
||||
|
||||
Reference in new issue
Block a user