remove_duplicated_files script in ruby allow remove duplicated files from a directory before $ chmod +x main.rb How test create a duplicated file in the folder test/count_files and run $ ./main.rb test/count_files