Hi, we want to exit lftp processing, when a file pattern is not matching. This exits with RC=8, if no hugo.xml file is present: find hugo.xml || exit 8;
Now for patterns: glob find *.xml || exit 8; doesn't work, if no *.xml files are there. It doesn't exit the processing. Also: find *.xml || exit 8; doesn't work, as it seems that lftp find does not accept patterns. Any hint what must be done to conditionally check if multiple files are present on remote site and exit with a specific RC if they aren't? Thanks, Tilo
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp