#!/bin/bash filename="$1" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" $DIR/ipfs files write --create "$filename"