Search for files/directories with the case insensitive pattern anaconda.* in var/log directory and create an archive (file.tar) of all the files found
find var/log/ -iname "anaconda.*" -exec tar -rvf file.tar {} \;