-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleaning up directories with spaces in pathnames #272
Comments
Thanks, neat solution. Although |
Nested quotes around "$DIR" work inside the $() command substitution:
... and should be POSIX compliant (double-quotes can be nested with command substitution). |
Thanks, this is what it looks like now:
|
Actually this was fixed some time back in develop branch but just hadn't made it to master: c9f5eaa |
Note the patch has still not made it to the master branch on april 18. |
@loikun: Thanks for the hint; created a new release now ( |
The "rmlint.sh" script fails when cleaning up empty folders with spaces in the pathname while removing duplicates if the "-c" option is selected, because the shell quoting "$(ls -A $DIR)" does not apply to the "$DIR" folder name.
Under Linux, the while loop can be replaced by a recursive "rmdir":
The text was updated successfully, but these errors were encountered: