Closed davidtavarez closed 6 years ago
I think we can validate this by looking if the last character of the path does has a '/'. What do you think @davidtavarez @Kyonru ?
We could add os.path.abspath(args.path + '/' + directory)
here https://github.com/Kyonru/Assets-Renamer/blob/d58cf6b50376b09de3f2a8b57ad18a8d084324ac/RenamerMaterialDesign.py#L59
@Kyonru I can do it.
The script should verify and sanitize the destination path properly.