remove=$(ls -d -1tr $destination/*.xml | tail -n +$keepfiles| head -n1)
if[ ! -z $remove];then
keepfiles=$((keepfiles +1))
del=$(ls $destination/*.xml | head -n -$keepfiles)
if[ ! -z $del];then
rm -f $del
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.