root#> lftp -f /home/dbuehler1/.script.txt --section=Monday
or
root#> lftp -f /home/dbuehler1/.script.txt --section=Tuesday
or
root#> lftp -f /home/dbuehler1/.script.txt --section=test
The would consist of the following lines. -----start of .script.txt file ----- [Monday] # This would run if the command line argument was for Monday lftp ftp://login:[EMAIL PROTECTED] cd /SHARE1 lcd /home/dbuehler1/Monday mirror -s --delete-first --parallel=5
[Tuesday] # This would run if the command line argument was for Tuesday lftp ftp://login:[EMAIL PROTECTED] cd /SHARE1 lcd /home/dbuehler1/Tuesday mirror -s --delete-first --parallel=5
[test] # This would run if the command line argument was for test lftp ftp://login:[EMAIL PROTECTED] cd /test lcd /home/test mirror -s -R --delete-first --parallel=1 ----end of .script.txt file-----
I would be glad to test this if Alexander gave me a diff file for it.
Thanks Steve
