#!/bin/bash
# shell script to collect remote data into webroot/RemoteData
# makes a copy, leaves data on remote, use clearRemote to clean up remotes when
# storage gets full.  This script should be run in ~/SmartHouse/RemoteData
#
# set directory
cd ~/SmartHouse/RemoteData
# 
cd pixar1data
sftp -b getData.sh pixar1
cd ..
#
cd pixar2data
sftp -b getData.sh pixar2
cd ..
#
cd pixar3data
sftp -b getData.sh pixar3
cd ..
#
cd pixar4data
sftp -b getData.sh pixar4
cd ..
#
cd pixar5data
sftp -b getData.sh pixar5
cd ..
#
cd pixar6data
sftp -b getData.sh pixar6
cd ..
#
cd pixar7data
sftp -b getData.sh pixar7
cd ..
#
cd pixar8data
sftp -b getData.sh pixar8
cd ..
#
cd pixar9data
sftp -b getData.sh pixar9
cd ..
#
#cd pixar10data
#sftp -b getData.sh pixar10
#cd ..
#
#cd pixar11data
#sftp -b getData.sh pixar6
#cd ..
#
#cd pixar12data
#sftp -b getData.sh pixar12
#cd ..
#
# return to home directory
cd ~ 
#echo 'end of getAllremote.sh' 

