#!/bin/bash

# Directory containing the MP4 files
directory="/mnt/red/porn/HydraFXX/uniform"

# Find all MP4 files and rename them with random names
find "$directory" -type f -name "*.mp4" | while read -r file; do
    # Generate a random name
    random_name=$(uuidgen)
    # Get the directory of the file
    dir=$(dirname "$file")
    # Rename the file
    mv "$file" "$dir/$random_name.mp4"
done

