coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Chefkochx on March 20, 2004, 03:02:39 AM

Title: Copy one Folder to another
Post by: Chefkochx on March 20, 2004, 03:02:39 AM
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
Title: Copy one Folder to another
Post by: Joachim Müller on March 20, 2004, 10:53:00 AM
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