#!/bin/sh # make a file in specified path mkdir -pv "$(dirname "$1")" && touch "$1"