1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 20:58:37 -06:00
random/touch2
2021-04-20 00:24:49 +05:30

5 lines
117 B
Text
Executable file

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