Renaming a directory should be the fastest operation here, use it if possible.
вс, 12 авг. 2018, 20:30 John Kelly <green...@gmail.com>: > Hi, > I'm trying to use lftp to push my new angular app to my website from > gitlab, but i first want to take a copy of the current website. Logically > i'm trying to achieve the following, trying to minimise downtime... > > a ) push to website-latest > b) copy website-current to website-previous > c) replace website-latest to website-current > > i'm struggling somewhat with trying to achieve this - any hints would be > appreciated (it's all done in the context of a docker node image) > > kind regards > john kelly > > _______________________________________________ > lftp mailing list > lftp@uniyar.ac.ru > http://univ.uniyar.ac.ru/mailman/listinfo/lftp >
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp