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

any way to redirect lftp paths to other shell commands #695

Open
goyalyashpal opened this issue Mar 9, 2023 · 0 comments
Open

any way to redirect lftp paths to other shell commands #695

goyalyashpal opened this issue Mar 9, 2023 · 0 comments

Comments

@goyalyashpal
Copy link

goyalyashpal commented Mar 9, 2023

Problem/Situtation

  • to use wget to download files from lftp
  • to open the remote directory from lftp in some gui software (say doublecmd)
    (edit: this 2nd option is not supported: Does this work as ftpfs ? #681)

Solution thought about

any way to redirect lftp paths to other shell commands

The exclamation can be used to invoke shell commands from within lftp (nice) !<shell-command>
$ lftp
lftp :~> help
    !<shell-command>                     (commands)                           ...

but how to pass the lftp path to them?

imagined is something like this:

lftp :~> !wget <lftp-pwd>
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

1 participant