1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-03-15 09:26:48 -05: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"