I have a problem with mirror command.

I use the following command to backup my local folder to ftp host:


lftp -c "open $FTPDIR; \
set ftp:charset cp1251; \
set mirror:set-permissions off; \
set ftp:use-telnet-iac no; \
mirror --reverse --dereference --only-newer --delete --verbose=3 --exclude-glob '*/.*' --exclude-glob '*/.*/' $LOCALDIR . "


but each time i run lftp, it recopies all files again. How can solve this problem.

Thank you, i appreciate any help.

Reply via email to