Yes, coffee beans have a pleasant smell to us. But the skunk will find it bitter and want to avoid the smell. You can use leftover ground coffee to repel skunks.