FG

How to batch rename files with a random name

Fresh3 days ago
Mar 15, 202626986 views
Confidence Score0%
0%

Problem

I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to batch rename files with a random name

Low Risk

One way if you have a bash shell handy is to use the environment variable. It generates random values between 0 and 32767. A simple for loop in bash works fine if you only have a few hundred files. Since I had about 4000 files to rename I soon got c…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment