fdupes --recurse --omitfirst <directory> |xargs rm
And every time it comes across a file or pathname with a whitespace in it I get the following error:
rm: cannot remove '<file or directory with whitespace>': No such file or directory
Any ideas how I can get this command to work properly? Thanks!