I noticed that the previous re also excluded files and directories
whose name contained "Makefile", "admin", ... etc. I wrote this to
ensure that
- the whole name is "admin" or
- the name is something like "foo/admin"


lftp -e "mirror -vvv -R -L --delete-first --parallel=3 -x
\"((/|^)Makefile$$|(/|^)bbclone$$|(/|^)db$$|(/|^)trash$$|(/|^)scansioni$$|(/|^)admin$$|(/|^)TODO$$|(/|^).*~$$|(/|^)_.*$$)\";quit"
-u ${user},${pwd} ${host}

but it doesn't work. Uhm... it's getting more and more complicated...

Marco

Reply via email to