Auto Rename by Date / Number on upload Auto Rename by Date / Number on upload
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Auto Rename by Date / Number on upload

Started by opulence, February 15, 2005, 07:20:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

opulence

Is there a way to have Coppermine automatically rename each uploaded file like:

[date]-
  • .[ext]

    so that

    picture1.jpg -> 02-15-2005-1.jpg
    picture2.jpg -> 02-15-2005-2.jpg
    picture3.jpg -> 02-15-2005-3.jpg
    picture4.jpg -> 02-15-2005-4.jpg

    When they're uploaded?

Joachim Müller

take a look at the admin tools in coppermine's admin menu bar.

Joachim

opulence

Have checked it out... can't seem to find where it would allow me to perform the desired operation noted above:

changing:

anyrandompicname.jpg -> 02-15-2005-1.jpg
anotherPiCnaMe.jpg -> 02-15-2005-2.jpg
picofme1.jpg -> 02-15-2005-3.jpg
friendSanDsTuff123342.jpg -> 02-15-2005-4.jpg

I know there's the option to:
How should the filename be modified (2):
Remove the .jpg ending and replace _ (underscore) with spaces
Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20
Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20
Change 2003_11_23_13_20_20.jpg to 13:20

But this only seems to work with files already named '2003_11_23_13_20_20.jpg' ...