I have a set of backup directories and I would like to write a bash script to remove all directories created before let's say 22/11. How can I achieve that ?
my directories are in this syntax
backup-{timestamp}
eg:
backup-20200514100830
I have a set of backup directories and I would like to write a bash script to remove all directories created before let's say 22/11. How can I achieve that ?
my directories are in this syntax
backup-{timestamp}
eg:
backup-20200514100830