#!/bin/bash DIRBACKUP="/data/backups" if [ -d "${DIRBACKUP}" ]; then rm -rf "${DIRBACKUP:?}/"* fi