in reply to Dynamic Backup script
Just use rsync. It's going to do what you're trying to do a lot better and faster.
Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past