projects-jenz/file_mover/README.md
2023-05-07 16:34:52 +02:00

33 lines
599 B
Markdown
Executable File

# simple file mover by jenz
# general compression: XZ_OPT='-T3 --memlimit-compress=70%' tar -cJf <name of compressed file> <Path to compress>
# general decompression: tar -xJf file.pkg.tar.xz
## virtualenv venv
## source venv/bin/activate
## pip3 install -r requirements.txt
## config file: server specifics
## requires an ~/.my.cnf with
[mysqldump]
host=""
user=""
password=""
## python3 file_mover.py config.json
## systemctl enable file_mover.timer
## systemctl start file_mover.timer
## logging: journalctl -f -u file_mover.service
## logging: systemctl status file_mover.service