Add a max folder name limit to prevent too long path names #13
No reviewers
Labels
No Label
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cyberes/canvas-student-data-export#13
Loading…
Reference in New Issue
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In my use case, some folder names of assignments caused the path length to exceed 260 characters, which Windows (or at least File Explorer) cannot handle (you can't delete, move, or rename these files).
This implements an integer to limit the folder name of modules, assignments, announcements, and discussions and adds a "-" at the end to indicate it was cut off (I would've used "..." but thats not valid for file names).
I set it as 70 because that is what I found creates a reasonable buffer for the 260 limit (in case I want to move the files around which will cause the path length to change).
Looks great, thank you for contributing!