I am writing a house-keeping script and have files within a directory that I want to clean up. I want to move files from a source directory to another, there are many sub-direct
There's a tool designed for this purpose, it's fdupes :
fdupes -r dir/