I know how to tar a bunch of files, minus several I don't want:
tar --exclude=./*.jpg -pcjvf all.tar.gz ./
Here I tar all files, except any jpg extensions.
I want to do the opposite. I need to only tar certain files. After googling I haven't had too much luck finding examples.
Does an --include option exist with the tar command?