acoeur/bin/_commands/delete.sh

10 lines
100 B
Bash
Raw Normal View History

2022-10-26 23:12:29 +02:00
#!/bin/sh
dir=$1 file=$2
page=${file%.delete}
echo "Deleting $page"
rm -rf "${dir:?}/${page:?}"