Multiple excludes with flarcreate

On my Solaris 8 system with up-to-date patches, flarcreate does not seem to honor multiple excludes (-x). It appears that others have also seen this behavior:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=%25lIq9.33942%24OB5.2686256%40newsread2.prod.itd.earthlink.net

It is possible to use the output of find with flarcreate's -f and -F flags to perform multiple excludes:
http://groups.google.com/groups?selm=aih2v5$2ui@portal.gmu.edu

Example: exclude directories /home,/net, and /xfn from being included in the flash archive.

find / \( -name home -o -name net -o -name xfn \) -prune -o -print > /tmp/flar_files

Note: you may want to remove the line containing "/" from /tmp/flar_files. Otherwise, you will receive an error.

Creating the archive...
cpio: Error with lstat() of "", errno 2, No such file or directory

grep -v "^/$" /tmp/flar_list > /tmp/flar_list.tmp
mv /tmp/flar_list.tmp /tmp/flar_list

flarcreate -n "Flash archive" -a "brandonhutchinson@hotmail.com" -f /tmp/flar_files -F -c -S /tmp/archive.flar

Back to brandonhutchinson.com.
Last modified: 06/23/2003