diff --git a/.Github/README.md b/.Github/README.md index a6c28a1..44564ba 100644 --- a/.Github/README.md +++ b/.Github/README.md @@ -1,4 +1,5 @@ # SaraSortd +(Version 4.0) A python daemon that can automatically sort your files to your liking without using AI. @@ -38,7 +39,7 @@ If the second number in the version goes up, something new got added, but your o ## 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. @@ -55,6 +56,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. @@ -143,6 +146,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. diff --git a/Config.toml b/Config.toml index dcad170..38374af 100644 --- a/Config.toml +++ b/Config.toml @@ -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" diff --git a/DirConfig.toml b/DirConfig.toml index c728179..5ec450d 100644 --- a/DirConfig.toml +++ b/DirConfig.toml @@ -1,4 +1,5 @@ Title = "Unset" +Version = "4.0" LastFile = "Unset" ParentDir = "Unset" ValidInputDirs = ["*"] diff --git a/SaraSortd.py b/SaraSortd.py index 70dc726..435dda5 100644 --- a/SaraSortd.py +++ b/SaraSortd.py @@ -6,6 +6,8 @@ import shutil import time import toml +# Version 4.0 + ConfPath = "./Config.toml" Conf = None