1 # lftp configuration file.
6 # Display all files (including hidden ones) with `ls`.
7 set ftp:list-options -a
9 # Store passwords in the bookmarks file.
10 set bmk:save-passwords yes
12 # Use a colorized prompt. Hostname in green, current directory in blue.
13 set cmd:prompt "lftp \[\e[01;32m\]\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\] % "
18 # Create "sync" command which syncs local directories with remote ones and
19 # transfers all missing/outdated files. Local files which don't exist anymore
20 # are removed on the server.
21 alias sync mirror --verbose --reverse --delete --dereference --exclude .DS_Store
23 # Create "..", "..." and "...." commands to go up directory in the tree.
26 alias .... cd ../../..