Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Make a function to scan a folder #4

Description

@JostTim

Scanfunction (recusively):

  • get all filenames in a set (relative paths)
  • in a second time all dirnames in a set (relative paths)
  • files sets , folders sets in a dir in two separate keys, with root as key too

Comparefunction (recusively):

  • sets intersection : all matching files are raised to the user
  • if no intersection, return False

Transfert_function:

  • copies all files (option to cut) (create folder if necessary)
  • create all empty folders that don't exist after that

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions