On Thu, Jun 19, 2014 at 09:15:11PM +0900, Nicolas Raoul wrote: > Hello all, > > I usually edit my website locally and push it with this command: > > lftp -u user,password host -e "mirror -c -e -R -x ^\.git/$ my /my; exit" > > But now, my website dynamically adds data to the /my/data/ folder. > > I don't have this /my/data folder locally. > > *QUESTION:* How to push without deleting/overwriting /my/data and its > content?
Just exclude the folder using -x ^data/ option. If you need to upload some local files into that folder, use two mirrors, one without -e option just for my/data folder. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp