iPhone Mount Bash Script

Below is the iphone mount script to go with the latest video I’ve uploaded. Play and enjoy!

 

 

Steps:

1. Install ifuse

2. In terminal $ mkdir ~/iPhone

3. Gedit iphone

4. Paste in script and save

5. in terminal $ chmod 755 iphone

6. in terminal $ ./iphone


 

#!/bin/bash

dmesg | grep -i iphone

 

read -p “Is iPhone Connected? (y/n) ” RESP
if [ “$RESP” = “y” ]; then
echo “Glad to hear it”
ifuse ~/iPhone
else
fusermount -u /home/dasgeek/iPhone
echo “Try plugging it in again”
fi

August 11th, 2017 by