I got a folder structure with a very large tree of sub folders. I wrote a script to delete folders older than 30 days. But some folders are not getting deleted.
Then I have tried deleting that folder manually, but getting an error message like 'Unable to delete folder'. I have renamed one parent folder into a single character, then tried deleting the entire tree and succeeded.
What will be the actual problem? file length? but its not exceeding more than 250 chars.
I want to automate this task. Please help me on this issue.
Then I have tried deleting that folder manually, but getting an error message like 'Unable to delete folder'. I have renamed one parent folder into a single character, then tried deleting the entire tree and succeeded.
What will be the actual problem? file length? but its not exceeding more than 250 chars.
I want to automate this task. Please help me on this issue.