On Wed, Oct 01, 2003, Joel Hammer wrote:
>This simple chore of setting up a backup program is taking my evening. I
>remember now why I was putting this off.
>
>I am using find to find files newer than the last backup to feed them to
>tar. This is working as expected, more or less. I want to find all file
>types except directories, especially regular files and symbolic links
>(which will not be followed.) It seems that the -type option only takes
>one parameter at a time.  Is there some way for a single find command
>to search for several specified file types? man find and info find are
>both silent on this issue.

find / -xdev ! -type d ....

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

It is practically impossible to teach good programming style to
students that have had prior exposure to BASIC: as potential
programmers they are mentally mutilated beyond hope of
regeneration.
                -- Dijkstra
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to