I'm trying to backup a SCO UnixWare 7.1.0 system from the shell using find/cpio. Trouble is I don't want to backup one very large directory and I wondered if there is 'find' syntax to do this?
The closest I can get is
find . \( -name 'user1' -prune -o -name '*' \)
(user1 being the directory to be excluded) but this still returns the name of the directory. Is there a way to stop 'find' showing the directory *and* contents?
Thanks in advance for any help.