find . -name "*.txt" | xtool -dd rm -v

Check if xtool is an alias or custom script:

The -dd option tells the engine to look for duplicate streams across the input files. This is particularly useful for games that contain multiple versions of the same asset (e.g., the same texture used in different levels).

Suppose dupes.txt contains:

# Standard way cat list | awk '!seen[$0]++' | xargs rm