Clean up empty directories after deleting files in music-transfer.py #38
Open
opened 9 months ago by nightfirecat
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
When music is removed from the files list, or the path format is changed (as it recently did for unicode characters), it is possible to end up emptying directories of their files. Ideally, this should not result in a bunch of empty directories left over--they should also be removed, where possible.