From 7a4b0646c349a43f831edf01f299727757777b76 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 Jun 2008 17:08:46 +0100 Subject: [PATCH] Added lftp "sync" command. It uploads all changed files to the server and removes old files on the server. --- rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rc b/rc index e49d766..50f89c7 100644 --- a/rc +++ b/rc @@ -6,3 +6,8 @@ set ftp:list-options -a # Store passwords in the bookmarks file. set bmk:save-passwords yes + +# Create new "command" sync which will sync local directories with remote ones +# and transfer all missing/outdated files. Local files which don't exist +# anymore are removed on the server. +alias sync mirror --verbose --reverse --delete --exclude .DS_Store -- 2.45.2