updating README file
This commit is contained in:
parent
dcac8d1738
commit
7cf6527d21
@ -1,29 +1,32 @@
|
|||||||
#simple file mover by jenz
|
# simple file mover by jenz
|
||||||
|
|
||||||
##virtualenv venv
|
# general compression: XZ_OPT='-T3 --memlimit-compress=70%' tar -cJf <name of compressed file> <Path to compress>
|
||||||
|
|
||||||
##source venv/bin/activate
|
# general decompression: tar -xJf file.pkg.tar.xz
|
||||||
|
|
||||||
##pip3 install -r requirements.txt
|
## virtualenv venv
|
||||||
|
|
||||||
##config file: server specifics
|
## source venv/bin/activate
|
||||||
|
|
||||||
##globally: apt-get install zip
|
## pip3 install -r requirements.txt
|
||||||
|
|
||||||
##requires an ~/.my.cnf with
|
## config file: server specifics
|
||||||
|
|
||||||
|
|
||||||
|
## requires an ~/.my.cnf with
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
host=""
|
host=""
|
||||||
user=""
|
user=""
|
||||||
password=""
|
password=""
|
||||||
|
|
||||||
##python3 file_mover.py config.json
|
## python3 file_mover.py config.json
|
||||||
|
|
||||||
##systemctl enable file_mover.timer
|
## systemctl enable file_mover.timer
|
||||||
|
|
||||||
##systemctl start file_mover.timer
|
## systemctl start file_mover.timer
|
||||||
|
|
||||||
##logging: journalctl -f -u file_mover.service
|
## logging: journalctl -f -u file_mover.service
|
||||||
|
|
||||||
##logging: systemctl status file_mover.service
|
## logging: systemctl status file_mover.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user