- Where Developers Learn, Share, & Build Careers


I want to use lftp at the beginning of a wrapped script, but how do I exclude the script from outside lftp Can I go processing? I have tried to end the LFTTP part with "exit", "quit" and "bye", but they stop all the scripts.

Earlier, I was divided into two scripts and they had cronched to run in the correct order. Is it possible to add them to a script?

or use more clearly & lt; & Lt; Eof

e.g. #! / Bin / bish # cmp 01.04.2013 # # & lt; & Lt; EOF is the functional equivalent of hitting down. # Lftp -e 'mirror -R / home / pi / LocalDirToMirror ~ / TargetDir' -u YourUsername, YourPassword ftp: // FTP_URL_Location & lt; on your keyboard. 0 EOF while exiting EOF

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -