I would like dot files not to be mirrored by lftp. I'm using the -x
option as follows:
lftp -e "mirror -vvv -R --delete-first --parallel=3
-x \"(Makefile|bbclone|db|trash|scansioni|admin|TODO|.*~|\..*)\";
quit" -u ${user},${pwd} ${host}
With this command lftp doesn't update any file! I'm sure that the
problem is with the regular expression "\..*": without it all the
files are uploaded! And "_.*" works as expected (all the _ starting
files are ignored).
I've tested it with egrep and it works... I can't figure out why....
Please help me!
ps What is the -c option for? When would I need it?