Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hi the company I work for is currently trying to move a Magento installation from one server to another - however, the product images are saved in folders alphabetically indexed folders - but with an added twist, some of the letters are the same but have a different case -

i.e.

a, A, b, C, D, e, E, f, F, G, h, I

That being the case, when we try to drag those files down from FTP in order to move them, Windows does not honour the case sensitive distinction and we are losing several image folders. Is there a simple workaround for this issue? Any help is greatly appreciated.

regards SWK

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Is it a Linux -> Windows -> Linux move?

If so, then just tar/gzip the directory, FTP it across and unpack.

command to create an archive:

tar czf archive.tar.gz /path/to/current/install

command to unpack:

cd /new/path
tar zxf archive.tar.gz
share|improve this answer
    
many thanks, that should do the trick - though in hindsight I feel slightly thick! Linux not my native environment... –  sunwukung Apr 13 '10 at 9:03
    
no prob, that's what this site is for :) –  rytis Apr 13 '10 at 10:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.