On Mon, Feb 16, 2015 at 07:12:35AM +0000, Edward Borst wrote: > Someone else an idea to solve this? > I expected that if I use glob -exist the exit code would be 0.
You can use this: glob --exist /tmp/mtc/otp*.* || exit 0 -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp