On Fri, 18 May 2018 10:23:03 +0100, RobH wrote:
> Traceback (most recent call last)
> File "intruder_recmotion.py", line 37, in
> shutil.copyfile(RAMname, NASname)
> File "/usr/lib/python 2.7/shutil.py", line 83, in copyfile with
> open(dst, 'wb') as fdst:
> IOError: [Errno 2] No such file or directory:
> '/192.168.0.22/mnt/CCTV/PiZero/2018-16-16_11.25.36.h264'
As someone else said before, the path to copy to as given in the script
should not contain the NAS IP-address.
Change
/192.168.0.22/mnt/CCTV/PiZero
to
/mnt/CCTV/PiZero
--
Kees Nuyt
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|