/Recreate-file-structure

Recreates folder structure and moves files to the corresponded folder based on the start of the name

Primary LanguagePython

Recreate-file-structure

Recreates folder structure and moves files to the corresponded folder based on the start of the name

The script recreates one folder's file structure into another and moves files with the same name to the corresponding directory

There are two variables that nedd to be adjusted to your use case:

  • Reference: This is the folder that alredy has a defined structure
  • Target: This folder is expected to have files named like the refernce folder, but different directory structure