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