Maybe fdfind instead of find - for speed: apt-get install -y fd-find fdfind --unrestricted --type file However, fdfind doesn't apear to give access to device numbers and inode numbers. That's a show stopper. It does do null-termination though. Need to use GNU versions of these programs. They are included in about any Linux variant: find sort bash Need to have zstd: apt-get install -y zstd From my Subversion: count mtee eliminate-duplicates process-dups Note: catenating two well-formed zst files, produces a third zst file that decompresses to the catenation of the original, uncompressed files.