I have created a synology spk to run a couple of scripts from my synology NAS rather than hopping onto my desktop & command line
1st script & issue
Im having trouble working out the correct python formats for inserting a custom backup path within Sc0rpion's FTP_DB_Backup-50X script
https://github.com/Sc0rpion/FTP_DB_Backup-50X/blob/master/README.md
My aim is to have the PS4 backed up to my NAS via FTP, ive tried editing the below line within his script but i keep receiving an error saying path cannot be found. With my limited knowledge of python i dont know if my format is totally wrong or its becuase i have a space in my path or a combination of both.
https://github.com/Zer0xFF/PS4_db_rebuilder/blob/master/README.md
parser = argparse.ArgumentParser()
parser.add_argument("PS4_IP", help="PS4 ftp ip address")
args = parser.parse_args()
app_db = "tmp/app.db"
PS4_IP = args.PS4_IP
with many different variants im still presented with the below error
usage: fix_db.py [-h] PS4_IP
fix_db.py: error: the following arguments are required: PS4_IP
does anyone have any python knowledge that could help me out please.
1st script & issue
Im having trouble working out the correct python formats for inserting a custom backup path within Sc0rpion's FTP_DB_Backup-50X script
https://github.com/Sc0rpion/FTP_DB_Backup-50X/blob/master/README.md
My aim is to have the PS4 backed up to my NAS via FTP, ive tried editing the below line within his script but i keep receiving an error saying path cannot be found. With my limited knowledge of python i dont know if my format is totally wrong or its becuase i have a space in my path or a combination of both.
https://github.com/Zer0xFF/PS4_db_rebuilder/blob/master/README.md
parser = argparse.ArgumentParser()
parser.add_argument("PS4_IP", help="PS4 ftp ip address")
args = parser.parse_args()
app_db = "tmp/app.db"
PS4_IP = args.PS4_IP
with many different variants im still presented with the below error
usage: fix_db.py [-h] PS4_IP
fix_db.py: error: the following arguments are required: PS4_IP
does anyone have any python knowledge that could help me out please.







