mirror of
https://git.srhtnin.garden/sarah/SaraSortd.git
synced 2026-10-13 18:38:11 +02:00
Added versioning in files, and fixed config files to be unset.
This commit is contained in:
1 parent
51c557d228
commit
24c52c17ce
4 files changed
+11
-2
No files matched your search
+6
-1
@@ -1,4 +1,5 @@
|
||||
# SaraSortd
|
||||
(Version 4.0)
|
||||
|
||||
A python daemon that can automatically sort your files to your liking without using AI.
|
||||
|
||||
@@ -33,7 +34,7 @@ toml: Use ```pip install toml``` to install toml.
|
||||
|
||||
## Installation
|
||||
|
||||
Here's an [installation video.](https://youtu.be/ZMIaOhZA0kE).
|
||||
Here's an [installation video](https://youtu.be/ZMIaOhZA0kE).
|
||||
Here's a step-by-step tutorial (in case you don't want to watch the video).
|
||||
|
||||
1. Install ZIP-file.
|
||||
@@ -50,6 +51,8 @@ Here's a step-by-step tutorial (in case you don't want to watch the video).
|
||||
```
|
||||
Title = "SaraSortd Config" # NOTE: Do not change the title.
|
||||
|
||||
Version = "4.0" # Just the version number for the config file.
|
||||
|
||||
SafeMode = 1 # If SaraSortd should stop if an error with the config appears. 1 is stop, 0 is continue.
|
||||
|
||||
SilentMode = 0 # If SaraSortd should write things it does, to the terminal.
|
||||
@@ -138,6 +141,8 @@ The output directory config references the SaraSortd config (Config.toml). This
|
||||
```
|
||||
Title = "Unset" # The title of the config. This currently does nothing for SaraSortd, so it can be anything. It gets automatically updated when DirConfig.toml gets copied to an output directory.
|
||||
|
||||
Version = "4.0" # The version number of the config.
|
||||
|
||||
LastFile = "Unset" # The last file that was sorted to this directory. It gets automatically updated whenever a file gets sorted to this directory.
|
||||
|
||||
ParentDir = "Unset" # The name of this directory. It gets automatically updated when DirConfig.toml gets copied to an output directory.
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
Title = "SaraSortd Config"
|
||||
Version = "4.0"
|
||||
SafeMode = 1
|
||||
SilentMode = 0
|
||||
CheckInput = 5
|
||||
@@ -21,7 +22,7 @@ Second = "[s]"
|
||||
VarCall = "%%"
|
||||
|
||||
[DirectoryPaths]
|
||||
RootDir = "/home/sarah/TestDir"
|
||||
RootDir = "Unset"
|
||||
InputDir = [ "%RootDir%/Input" ]
|
||||
OutputDir = [ "%RootDir%/Output" ]
|
||||
LogDir = "%RootDir%/.Logs"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
Title = "Unset"
|
||||
Version = "4.0"
|
||||
LastFile = "Unset"
|
||||
ParentDir = "Unset"
|
||||
ValidInputDirs = ["*"]
|
||||
|
||||
@@ -6,6 +6,8 @@ import shutil
|
||||
import time
|
||||
import toml
|
||||
|
||||
# Version 4.0
|
||||
|
||||
ConfPath = "./Config.toml"
|
||||
|
||||
Conf = None
|
||||
|
||||
Reference in new issue
Block a user