Is there anyway to use wildcards ("*") when using mirror command? I know there is a mget command, which is simply the same as get, but one can use wildcards with it. Is there something equivelant to mirror command?


You can use the --include-glob=<wildcard> switch.

There are also other options. See the lftp man page.

| improve this answer | |
  • Thank you for that! I don't how did I missed it when reading manpage. – eregus Mar 7 '14 at 18:19
  • Or -I for short – Dan Mar 29 '16 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.