On Tue, Apr 15, 2014 at 11:21:30AM +0000, tilo.mue...@bertelsmann.de wrote: > 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;
find command expects a directory to dive into in the command line. Currently it cannot find a file by name, you can use grep for that. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp