Posted in Command Line, Linux Archive all files with a given extension Binny V A September 16, 2008 Leave a Comment on Archive all files with a given extension Find all files with ‘.log’ extention and make an bzip archive find /var/log -name '*.log' | tar cv --files-from=- | bzip2 > log.tar.bz2 Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.