Reverse exclude for Tar
Reverse exclude for Tar
Instead of skipping files during tar compression, add the ones you wish to compress.
compression tools let you define a file list with specific extensions, names, or filters like size or modification time. You can export this list to a text file and pass it to programs such as 7zip using parameters. Exclusion options exist too, allowing you to skip certain files via command-line flags.