I'm sorry but I love foxes and love to see them around so wouldn't know how to get rid of them. The only time they annoy me a bit is when they screech late at night, but isn't that a sign they're having fun.
Are you sure it's not deer? We have both in our gardens and the foxes never dig up the ground but the deer do. Mind you, that doesn't help as I've no idea how to get rid of them either, nor would I want to.