Copy one Folder to another Copy one Folder to another
 

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

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