Copy one Folder to another Copy one Folder to another
 

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]

Main Menu

Copy one Folder to another

Started by Chefkochx, March 20, 2004, 03:02:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chefkochx

Hi I`ve uploaded some pics via FTP batch upload. But now I have to sort the folders...
Is it possible to copy one folder (via ftp or something) with some pics, to another folder? What I have to change in mysql? Is there a "easy way" to cange the file path because so I have to change the path for every pictures...
Please help me

Best regards
Chefkoch

Joachim Müller

once the pics are inside the database, moving the files and folders around on the server is not a good idea. There's no easy method to change things in the database as well. If you're familiar with phpMyAdmin, you can run queries there that reflect your changes - something likeUPDATE `cpg11d_pictures` SET `filepath` = 'another_folder/yet_another_subfolder/' WHERE `filepath` = 'some_folder/some_subfolder/';
If you decide to experiment with this, make sure you backed up everything (files and database) before you start to play with it.

GauGau