find . -not -path '*/\.*' -type d \( -iname "$version_id" \) ! -newermt `date +%y%m%d -d "30 days ago"` | tee -a "$log_file"
find . -not -path '*/\.*' -type d \( -iname "$version_id" \) - Find the directory not present in hidden directories
! -newermt `date +%y%m%d -d "30 days ago"` - Older than 30 days
find . ! -newermt 2016-02-22 ! -type d -delete - Delete the older before the specified date
find . -type l -ls - Find all links
find . -not -path '*/\.*' -type d \( -iname "$version_id" \) ! -newermt `date +%y%m%d -d "63 days ago"` | xargs rm -rf -- To delete