#!/bin/bash

n=`find /root/mnt -mtime +3 -name "2021-*"`

for i in $n

 do

 if [ $i > 0 ]

   then

     rm -rf $i

   else

      echo "is 0"

 fi

done