Moving directory of images Moving directory of images
 

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

Moving directory of images

Started by shiftsrl, September 04, 2006, 03:12:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shiftsrl

Since I've used coppermine for some time, I would like to make some order in my album directory and I would like to move around some folders. If I've this structure, for example

pictures
--trip1
--trip2

and would like to have this one

2002
--trip2

2003
--trip1

apart from moving the filders via FTP, how can I be sure that Coppermine will find the albums once the structure is changed?

Thanks in advance
Shift Srl
*Link Removed*

ralfs

Hi,

The easiest way would be via SQL queries:

Run phpmyadmin, take your database.
Then 'SQL' and enter

Update cpg_pictures
SET filepath = "data/2002/trip2/"
WHERE filepath = "data/pictures/trip2/"

assumed, your directory structure starts underneath albums/data

I had to do that quite often in the last months and it worked fine.

Regards,
Ralf