Multi rename: add random numbers, how?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
giulia
Senior Member
Senior Member
Posts: 311
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Multi rename: add random numbers, how?

Post by *giulia »

Hi

i would like to rename files using random numbers

for example rename many jpg files using jpg_xxxx.jpg where xxxx are 4 random number

can i do it?

thanks
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

Hi giulia,

Just press Ctrl + M and use the following mask for the Multi-Rename Tool:

Code: Select all

jpg_[=filesys.random nr]
You have to have the filesys plugin (by Christian Ghisler) installed: download.

(this way it generates random numbers up to five digits, maybe someone have an idea how to make it exactly four)

Regards,
Bluestar
» Developer of Total Updater & extDir utility.
giulia
Senior Member
Senior Member
Posts: 311
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Post by *giulia »

Bluestar wrote:Hi giulia,

Just press Ctrl + M and use the following mask for the Multi-Rename Tool:

Code: Select all

jpg_[=filesys.random nr]
You have to have the filesys plugin (by Christian Ghisler) installed: download.

(this way it generates random numbers up to five digits, maybe someone have an idea how to make it exactly four)

Regards,
Bluestar
hi thanks
to use jpg_[=filesys.random nr] shoulr i have the plugin installed?
thanks
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Code: Select all

jpg_[=tc.Random number:1-4]
You don't need to download the filesys plugin, because random number is part of the internal tc-plugin since TC 7.51.

Regards
Holger
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

@HolgerK:

True point, however for me somehow it doesn't works using the Hungarian language file...

Edit: problem found, submitted to TC8.5 beta bug reports (English).
» Developer of Total Updater & extDir utility.
giulia
Senior Member
Senior Member
Posts: 311
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Post by *giulia »

HolgerK wrote:

Code: Select all

jpg_[=tc.Random number:1-4]
You don't need to download the filesys plugin, because random number is part of the internal tc-plugin since TC 7.51.

Regards
Holger
if i got it total commander i use 8.01 (64) the last ?

total commaner 8.01 does have still a limit of randome number of 5 ,right?
thanks Holger
giulia
Senior Member
Senior Member
Posts: 311
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Post by *giulia »

Bluestar wrote:Hi giulia,

Just press Ctrl + M and use the following mask for the Multi-Rename Tool:

Code: Select all

jpg_[=filesys.random nr]
You have to have the filesys plugin (by Christian Ghisler) installed: download.

(this way it generates random numbers up to five digits, maybe someone have an idea how to make it exactly four)

Regards,
Bluestar
by the way the plugin it's beta!
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

giulia wrote:if i got it total commander i use 8.01 (64) the last ?
It's part of every TC-Version since version 7.51.
total commaner 8.01 does have still a limit of randome number of 5 ,right?
Yes no change since
History.txt wrote:10.02.10 Added: Internal content plugin field "Random number", generating a pseudo-random number (not cryptographically strong) between 0 and 99999. Useful e.g. to sort music files by random numbers.
But you can get more digits by simply using 2 random numbers.
Up to ten digits:

Code: Select all

jpg_[=tc.Random number][=tc.Random number] 
Regards
Holger
Post Reply