Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with parallel put #88

Closed
wheelq opened this issue Aug 25, 2014 · 2 comments
Closed

issue with parallel put #88

wheelq opened this issue Aug 25, 2014 · 2 comments

Comments

@wheelq
Copy link

wheelq commented Aug 25, 2014

I have 1000 files in a directory.
For each uploaded file I want to do a remote ls on that file.
So I have used find . -type f | while read line; do echo "(put $line && ls $line)";done

then I pipe the results into the lftp.

Everythung runs fine, until I increase the set cmd:parallel value from 1 to 2,3..10.
lftp seems to omit the && and throws lots of errors that i couldn't fine the files that were not yet uploaded.

Am I doing something wrong?

@lavv17
Copy link
Owner

lavv17 commented Aug 25, 2014

parallel execution does not honor && and || as stated in the documentation. But this 8488430 change disables parallel execution in sub-shells.

@lavv17 lavv17 closed this as completed Aug 25, 2014
@wheelq
Copy link
Author

wheelq commented Sep 12, 2014

confirmed to be working properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants