lftp: where are bookmarks stored on debian jessie?

Bookmarks are saved but I get an empty (new file) when I run bookmark edit inside lftp and I don't have any ~/.lftp/bookmarks file.

For information, I add bookmarks like this:

$ lftp sftp://username@mysitehost
$ password:
lftp> bookmark add mysite
lftp> exit

and then I can use the bookmark like this

$ lftp mysite
$ password:
lftp>

2 Answers

Despite running lftp as a regular user, I found that lftp actually stores the bookmarks in root's files (despite lftp> bookmark edit opening a blank file).

Check:

/root/.local/share/lftp/bookmarks

Nowadays the bookmarks are stored in the file ~/.local/share/lftp/bookmarks

You can still edit them with

lftp
bookmark edit

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like