Batch add from outside folder Batch add from outside folder
 

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

Batch add from outside folder

Started by fall-apart, February 27, 2007, 05:57:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fall-apart

G'day, I searched through the forums, but couldn't find an answer for this:

I am moving from a photoblog to Coppermine.  I have all my photoblog pictures in a folder on my site, outside the Coppermine directory.  Is there any way I can use batch add to add these photos to Coppermine without downloading them and re-uploading?  Thanks!

Photoblog folder: http://www.marturia.net/mt/archives/
CPG folder: http://www.marturia.net/gallery/

Joachim Müller

Although not recommended, you can make the albums folder point to a directory outside of the coppermine root folder. Go to Coppermine's config, change the album path to ../mt/archives/
If you decide to use this option, make sure to create a userpics and an edit folder within http://www.marturia.net/mt/archives/ and to make the entire folder (with all sub-folders) writable for the script (see permissions section of the docs). Keep in mind that once you have files inside your database you mustn't change the path.

Another (better) option would be to create a symlink within http://www.marturia.net/gallery/albums/ that points to http://www.marturia.net/mt/archives/ (you may have to ask your webhost to create it for you).

fall-apart

Okay, the symbolic link sounds like a good idea.  I can SSH into my account, but my knowledge of unix commands is very limited.  Could you walk me through the steps needed to create a symbolic link?  Thanks!

Stramm

*nix questions are beyond the scope of this support board. You always can ask your host or search the web. A good start is always wikipedia

http://en.wikipedia.org/wiki/Ln_%28Unix%29

Nibbler

change to your gallery/albums directory, then

ln -s ../../mt/archives