i'm working on a script that backups my site, i need it to exclude a directory and all directories in it.
i tried: public_html/directory/ but it does not work, even adding two at the end: //*
can someone help? just need a proper wildcard to use.