random/touch2

5 lines
117 B
Text

# It makes the parent folders (if needed) while touch-ing.
#!/bin/bash
mkdir -p "$(dirname "$1")" &&
touch "$1"