|
hello,
we have website content located at
/localapps/netscape/suitespot/docs-* folders that we'd like to replicate to our
failover server. if i run the command below it works fine if use #1
var settings, but it doesn't if i use #2. the reason i can't use
approach #1 is that i'd like to specify remote folder /localapps as a
single entry point and have $INC var to list only those directories, that
i'd like to synchronize on off of /localapps (it may be 2,3... levels
down).
please, let me know if you see what i am doing wrong or
if #1 approach is the only way to do this?
thank you everyone and thank you to Alexsander for such a
great tool,
Dmitri.
_______________________________________________________________
# Command
lftp
<<-EOF
open -u $user,$passwd $HOST; mirror -e -a ${EXC:+-x "^($EXC)"} ${INC:+-i "^($INC)"} $RF $LF; exit; EOF #1 -------------- works properly with these settings
--------------------------
RF=/localapps/netscape/suitespot
LF=/localapps/netscape/suitespot
EXC=.*
INC=docs-.*/
#2 -------------- DOES NOT work the same as #1. it
syncronizes on more then just docs-* folders -------------------
RF=/localapps
LF=/localapps
EXC=.*
INC=netscape/suitespot/docs-.*/
|
