]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - rc
Added lftp "sync" command.
[config/dotfiles.git] / rc
diff --git a/rc b/rc
index e49d7668c165b3188a2a2a4faf92a2db90971410..50f89c75c567e2cf65e3b6354224e07f1aad4817 100644 (file)
--- 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