acoeur/bin/_commands/delete.sh
2022-10-26 23:12:29 +02:00

10 lines
100 B
Bash
Executable File

#!/bin/sh
dir=$1 file=$2
page=${file%.delete}
echo "Deleting $page"
rm -rf "${dir:?}/${page:?}"