Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Batch adding files from another partition then the coppermine root?  (Read 2790 times)

0 Members and 1 Guest are viewing this topic.

dke

  • Guest

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Batch adding files from another partition then the coppermine root?
« Reply #1 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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch adding files from another partition then the coppermine root?
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.