One of the final stages of any project is to send the finished MIB content file to a device for testing – it’s an action we perform several times each day. And there are a few ways to do it, the most convenient of which is the Simple MIB Pusher.
But here’s an even quicker way, if you’re on a Mac.
Open Automator, and create a new Service. Call it something like “Send to iPad”. Set it to receive selected files or folders from Finder.
Drag on the “Run Shell Script” command. Paste the following:
1 2 3 4
while read f do curl -X POST -F "file=@$f" http://192.168.1.240:50000 done
.. substituting your device’s IP address in for 192.168.1.240. Save the workflow. You can now send any MIB to your device in one click from the Finder context menu.