coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: dke on August 26, 2006, 01:42:03 PM

Title: Batch adding files from another partition then the coppermine root?
Post by: dke on August 26, 2006, 01:42:03 PM
Hi all,

Since ive ran out of space on the main drive, i would like to start batch adding files from another partition. How is this done? Ive tried to find info about it in the FAQ but failed, also searched the forums.

Anyone have info on this?

Thanks in advance
Title: Re: Batch adding files from another partition then the coppermine root?
Post by: Stramm on August 26, 2006, 04:10:40 PM
.... I'd create a dir on your new, huge drive. Then copy the contents of your current albums folder there. Last step would be to create a symlink that references your newly created dir on your new drive.

http://en.wikipedia.org/wiki/Symlink

eg. ln -s /home2/new_albums /home/mysite.com/htdocs/cpg/albums

edit: if all works smooth it's save to delete the pics in the old albums folder
Title: Re: Batch adding files from another partition then the coppermine root?
Post by: Joachim Müller on August 27, 2006, 10:25:34 AM
If you're on Windows, you might try to accomplish a similar thing using junctions (the Windows equivalent to symlinks), using something like Winbolic.