From 16a5518554fc6125785b5344871b6ac33981d5f1 Mon Sep 17 00:00:00 2001 From: fritz-smh Date: Wed, 11 May 2016 22:01:26 +0200 Subject: [PATCH] PR #24 : move file in a better place. Put some doc about it --- sd/test/scripts/README.md | 14 ++++++++++++++ .../test/scripts/copy_to_ftp.sh | 0 2 files changed, 14 insertions(+) create mode 100644 sd/test/scripts/README.md rename Copy videos from SD to NAS by ftp => sd/test/scripts/copy_to_ftp.sh (100%) diff --git a/sd/test/scripts/README.md b/sd/test/scripts/README.md new file mode 100644 index 0000000..f4f3ab0 --- /dev/null +++ b/sd/test/scripts/README.md @@ -0,0 +1,14 @@ +copy_to_ftp.sh +============== + +This script can help you to copy some files to a ftp server (on a NAS for example). + +Configure the script : + +* ftp_dir value, just put there the path where you want to copy videos. +* ftp_host value, indicate the IP of the NAS +* ftp_port value, indicate the port of the FTP server (like 21) +* ftp_login value, indicate the user or login to connect to the ftp folder in the nas server. +* ftp_pass value, indicate the password of the user before for permision to save in the folder. + +Add the script to the crontab of your yi camera diff --git a/Copy videos from SD to NAS by ftp b/sd/test/scripts/copy_to_ftp.sh similarity index 100% rename from Copy videos from SD to NAS by ftp rename to sd/test/scripts/copy_to_ftp.sh