#!/bin/bash
cd $1
while IFS= read -r folder || [[ -n "$folder" ]]; do
    mv  "$folder" "$folder-broken" && echo "folder found: $folder"
done < "/var/www/test-folder/test/versions.txt"
