Difference between revisions of "Eyesis4Pi 393 User Guide - Download"

From ElphelWiki
Jump to: navigation, search
Line 10: Line 10:
 
  # for 161 and 162: skip '''12x'''10GB from beginning, download '''3x'''10GB, change cables
 
  # for 161 and 162: skip '''12x'''10GB from beginning, download '''3x'''10GB, change cables
 
   
 
   
  ./int_ssd_download.py -c root@192.168.0.161 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3
+
  ./int_ssd_download.py -c root@192.168.0.161 -s 12 -n 3 /data/footage/test_20170308a/
  ./int_ssd_download.py -c root@192.168.0.162 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3
+
  ./int_ssd_download.py -c root@192.168.0.162 -s 12 -n 3 /data/footage/test_20170308a/
 
   
 
   
 
  # for 163: since it's roughly 1/6 of 161 (=162) data, skip '''2x'''10GB from beginning, download '''1x'''10GB
 
  # for 163: since it's roughly 1/6 of 161 (=162) data, skip '''2x'''10GB from beginning, download '''1x'''10GB
 
   
 
   
  ./int_ssd_download.py -c root@192.168.0.163 -p /dev/sdb2 /data/footage/test_20170308a/ -s 2 -n 1
+
  ./int_ssd_download.py -c root@192.168.0.163 -s 2 -n 1 /data/footage/test_20170308a/
  
 
  # Extract images
 
  # Extract images

Revision as of 17:42, 16 March 2017

Scripts

elphel-tools-x393

Internal SSDs

# int_ssd_download.py will connect to the cameras over ssh a few times

ssh-copy-id root@192.168.0.161
ssh-copy-id root@192.168.0.162
ssh-copy-id root@192.168.0.163

# for 161 and 162: skip 12x10GB from beginning, download 3x10GB, change cables

./int_ssd_download.py -c root@192.168.0.161 -s 12 -n 3 /data/footage/test_20170308a/
./int_ssd_download.py -c root@192.168.0.162 -s 12 -n 3 /data/footage/test_20170308a/

# for 163: since it's roughly 1/6 of 161 (=162) data, skip 2x10GB from beginning, download 1x10GB

./int_ssd_download.py -c root@192.168.0.163 -s 2 -n 1 /data/footage/test_20170308a/
# Extract images
./extract_images.php path=/data/footage/test_20170308a dest_path=0

External SSDs

# use dd or ext_ssd_download.py