coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: opulence on February 15, 2005, 07:20:17 PM

Title: Auto Rename by Date / Number on upload
Post by: opulence on February 15, 2005, 07:20:17 PM
Is there a way to have Coppermine automatically rename each uploaded file like:

[date]-
Title: Re: Auto Rename by Date / Number on upload
Post by: Joachim Müller on February 16, 2005, 08:39:55 AM
take a look at the admin tools in coppermine's admin menu bar.

Joachim
Title: Re: Auto Rename by Date / Number on upload
Post by: opulence on February 16, 2005, 06:32:29 PM
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' ...