I am working on a project for which I'm using 30 Raspberry Pi (B) camera modules in the same network. I can take pictures from all of these simultaneously and now I want to copy these pictures from all Pi's to my local machine for further processing. I have used pscp
and pslurp
commands for this purpose but it returns me with error: Exited with error code 1.
I used the commands like as follow;
$ pscp -h hosts.txt ~/camera/*.jpg ~/camera/*.jpg
$ pslurp -h hosts.txt -v -L ~/camera/1.jpg 2.jpg
Where hosts.txt
is a file in which I have saved IP addresses of all remote machines and one camera directory is in the remote machine contains 1.jpg and later directory is in local machine. I have made public key and already saved in all remote machines so I don't need to give password flag in command. I use -v flag for verbose but it doesn't display me any information regarding error.
Any help will be much appreciated. Thanks in advance.