Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 864 Bytes

File metadata and controls

19 lines (12 loc) · 864 Bytes

Please use FileSystem tools to finish the following task:

Task Description

You are given a directory containing multiple text files. Some files have identical content and need to be organized. Your task is to identify all files with duplicate content and move them to a newly created 'duplicates' directory.

Task Objectives

  1. Find out all the duplicate files in the test directory with identical content based on the directory’s initial state.
  2. Create a 'duplicates' directory in the test directory root
  3. Move all duplicate files into the 'duplicates' directory
  4. Leave unique files in their original location

Expected Output

After completing the task, the directory structure should be:

  • duplicates/ directory containing all files with duplicate content
  • Original directory containing only files with unique content