Skip to content

Conversation

@vgandhi1
Copy link

@vgandhi1 vgandhi1 commented Jan 3, 2025

create an Archive folder if not present. (Added condition if there is no 'Archive' folder present. without this files won't transfer to the new folder.)
added r to folder path e.g. r"folderPath". It converts a normal string to a raw string

added r to folder path e.g. r"folderPath". It converts a normal string to a raw string
Added condition if there is no 'Archive' folder present. without this files won't transfer to the new folder.
Updated the organize_files function to handle files without extensions and prevent long extension names from creating folders.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant