im going to bed -=-
This commit is contained in:
2026-02-12 02:28:23 +02:00
parent 0b92f6f239
commit a5d75e6bac
1972 changed files with 308880 additions and 0 deletions

35
ServerSync.py Executable file
View File

@@ -0,0 +1,35 @@
#!/usr/bin/env python3
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lib'))
import argparse
parser = argparse.ArgumentParser(usage="A Quick Tool to Sync Files to Local Servers over FTP", description="Idk , i had ADHD and i was too ored to look up a tool for this job , so yea")
parser.add_argument("Action", help="The action you wanna perform , do Setup to setup")
parser.add_argument("-l","--log", type=int,help="Set the logging mode")
arguments = parser.parse_args()
match arguments.Action:
case "Setup":
print("Setup Mode")
import setup
setup.initialSetup()
case "init":
import initSync
print("initialising new SyncNode")
initSync.begin()
case "sync":
import sync
print("Syncing...")
sync.handle_upload()