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