mirror of
https://git.srhtnin.garden/sarah/SaraSortd.git
synced 2026-10-13 18:38:11 +02:00
Updated config file.
This commit is contained in:
1 parent
04bf4f78d1
commit
413dffb0e7
2 files changed
+38
-2
No files matched your search
+37
-2
@@ -1,4 +1,39 @@
|
|||||||
Title = "Sarasort Config"
|
Title = "Sarasort Config"
|
||||||
|
|
||||||
[Folders]
|
[Symbols]
|
||||||
InputFolder = "Unset"
|
# Symbols that are used for sorting: * & @ ~ ^ % []
|
||||||
|
NextNum = "*" # The next available number. If 1 already exists, 2 will be used. Starts at 1.
|
||||||
|
NextChar = "&" # The next available character. If A already exists, B will be used.
|
||||||
|
|
||||||
|
Parent = "@" # The name of the parent folder.
|
||||||
|
|
||||||
|
OrgFileName = "~" # The original name of the sorted file. If "blahblah.txt" gets sorted, "~" would be equal to "blahblah".
|
||||||
|
OrgFileType = "^" # The original file type of the sorted file. If "example.png" gets sorted, "^" would be equal to ".png".
|
||||||
|
|
||||||
|
TodayDayName = "[D]" # The name of the current day, E.G. "Friday".
|
||||||
|
TodayDay = "[d]" # The date of the current day, E.G. "27".
|
||||||
|
|
||||||
|
TodayMonthName = "[M]" # The name of the current month, E.G. "March".
|
||||||
|
TodayMonth = "[m]" # The date of the current month, E.G. "03".
|
||||||
|
|
||||||
|
TodayYear = "[y]" # The current year, E.G. "2026".
|
||||||
|
|
||||||
|
Vars = "%" # NOTE: If one character is given in "Vars", E.G. "%",
|
||||||
|
# vars in the Config will be "%ExampleVar%". If two characters are given, E.G. "()",
|
||||||
|
# vars in the config will be "(ExampleVar)".
|
||||||
|
|
||||||
|
[DirectoryPaths]
|
||||||
|
RootDir = "Unset" #
|
||||||
|
InputDir = "%RootDir%"
|
||||||
|
OutputDir = "%RootDir%/Output"
|
||||||
|
LogDir = ".%RootDir%/Logs"
|
||||||
|
FailedDir =".%RootDir%/Failed" # For files that failed to be sorted.
|
||||||
|
|
||||||
|
[Names]
|
||||||
|
OutputDirName = "Output_#"
|
||||||
|
OutputFileName = "*_@^"
|
||||||
|
LogFileName = "[y].[m].[d]_*"
|
||||||
|
DirConfName = "[email protected]"
|
||||||
|
|
||||||
|
[Log]
|
||||||
|
Sorted = "Sorted ~^ to %SortDir%"
|
||||||
@@ -8,6 +8,7 @@ def Clear():
|
|||||||
else:
|
else:
|
||||||
os.system('clear')
|
os.system('clear')
|
||||||
|
|
||||||
|
|
||||||
def LoadConf():
|
def LoadConf():
|
||||||
global Conf
|
global Conf
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user