<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Send to Computer in Linux using WiFi in Cyber-shot compact cameras</title>
    <link>https://community.sony.ba/t5/cyber-shot-compact-cameras/send-to-computer-in-linux-using-wifi/m-p/3841158#M5808</link>
    <description>&lt;P&gt;For Linux users there is a &lt;A href="https://smallhacks.wordpress.com/2020/09/03/how-to-transfer-pictures-wirelessly-for-a-sony-camera-without-using-playmemories-on-macos/" target="_self" rel="nofollow noopener noreferrer"&gt;Python script (airmtp.py)&lt;/A&gt; that allows you to download pictures from your camera to your Linux computer (which means to your raspberrypi as well) using&amp;nbsp; a WiFi connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Howto.&lt;/P&gt;
&lt;P&gt;Download&amp;nbsp; the ZIP file from&amp;nbsp;&lt;A href="https://github.com/shezi/airmtp" target="_self" rel="nofollow noopener noreferrer"&gt;GitHub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;wget https://github.com/shezi/airmtp/archive/refs/heads/master.zip
unzip master.zip
mkdir Camera-download&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#!/bin/bash
cd /home/pi/airmtp-master
# Start your camera -&amp;gt; menu -&amp;gt; WiFi -&amp;gt; Send to Computer -&amp;gt; start the script
# find the ip address of your camera using arp and the MAC address and grep the ip address out of the arp discovery.
# the MAC address of Sony cameras starts with '00:ae'.
ip=$(arp -a | grep '00:ae' | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}')
# the script has found the camera's ip address
# transfer this ip address inside the script
python3 airmtp.py --ipaddress $ip --outputdir /home/pi/Camera-download
#Attention; the directory to download the jpg files must be the same as the one on the line above.

# discovered on https://github.com/shezi/airmtp

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you want to follow the correct execution of the script, type: sh -x name-of-your-script.sh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Dec 2021 20:04:46 GMT</pubDate>
    <dc:creator>Strampke</dc:creator>
    <dc:date>2021-12-05T20:04:46Z</dc:date>
    <item>
      <title>Send to Computer in Linux using WiFi</title>
      <link>https://community.sony.ba/t5/cyber-shot-compact-cameras/send-to-computer-in-linux-using-wifi/m-p/3841158#M5808</link>
      <description>&lt;P&gt;For Linux users there is a &lt;A href="https://smallhacks.wordpress.com/2020/09/03/how-to-transfer-pictures-wirelessly-for-a-sony-camera-without-using-playmemories-on-macos/" target="_self" rel="nofollow noopener noreferrer"&gt;Python script (airmtp.py)&lt;/A&gt; that allows you to download pictures from your camera to your Linux computer (which means to your raspberrypi as well) using&amp;nbsp; a WiFi connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Howto.&lt;/P&gt;
&lt;P&gt;Download&amp;nbsp; the ZIP file from&amp;nbsp;&lt;A href="https://github.com/shezi/airmtp" target="_self" rel="nofollow noopener noreferrer"&gt;GitHub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;wget https://github.com/shezi/airmtp/archive/refs/heads/master.zip
unzip master.zip
mkdir Camera-download&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#!/bin/bash
cd /home/pi/airmtp-master
# Start your camera -&amp;gt; menu -&amp;gt; WiFi -&amp;gt; Send to Computer -&amp;gt; start the script
# find the ip address of your camera using arp and the MAC address and grep the ip address out of the arp discovery.
# the MAC address of Sony cameras starts with '00:ae'.
ip=$(arp -a | grep '00:ae' | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}')
# the script has found the camera's ip address
# transfer this ip address inside the script
python3 airmtp.py --ipaddress $ip --outputdir /home/pi/Camera-download
#Attention; the directory to download the jpg files must be the same as the one on the line above.

# discovered on https://github.com/shezi/airmtp

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you want to follow the correct execution of the script, type: sh -x name-of-your-script.sh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 20:04:46 GMT</pubDate>
      <guid>https://community.sony.ba/t5/cyber-shot-compact-cameras/send-to-computer-in-linux-using-wifi/m-p/3841158#M5808</guid>
      <dc:creator>Strampke</dc:creator>
      <dc:date>2021-12-05T20:04:46Z</dc:date>
    </item>
  </channel>
</rss>

