Advanced search  

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

Pages: [1]   Go Down

Author Topic: 42 albums to 1 album..?  (Read 2888 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.02 seconds with 19 queries.