#! /bin/bash # Grab the core defs source core.sh # Directory routines source dirs.sh # File routines source file.sh if [ "$#" -eq 0 ] then die "Usage: ${0##*/} filename" fi file=$1 block=`dir_find_file $file` check_last # Check the the file exists file_free $block # Free the file data dir_remove_file $file