Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: 42 albums to 1 album..?  (Read 2890 times)

0 Members and 1 Guest are viewing this topic.

mr.d

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
42 albums to 1 album..?
« on: October 29, 2005, 09:12:59 pm »

Hi!

I'm using coppermine 1.3.2. I have 42 albums, over 25.000 pictures. And now, i want to move all files to one album. Is it possible to move all files at the same time? It too hard to move file by file.

mr.d
Logged

Nibbler

  • Guest
Re: 42 albums to 1 album..?
« Reply #1 on: October 29, 2005, 09:55:26 pm »

You can run a query directly on the database.

Code: [Select]
UPDATE cpg_pictures SET aid = 123
Change cpg_ to the prefix you chose during installation and 123 to the id of the album you want the pics in. Backup first.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 42 albums to 1 album..?
« Reply #2 on: October 30, 2005, 12:21:46 pm »

and while you're at it: upgrade from cpg1.3.2 to the most recent stable cpg1.3.5 - see the announcement board to get an idea why you should.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.