Skip to content
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

Rename file names with spaces in them #9

Open
bob-fontana opened this issue Feb 13, 2018 · 0 comments
Open

Rename file names with spaces in them #9

bob-fontana opened this issue Feb 13, 2018 · 0 comments

Comments

@bob-fontana
Copy link
Contributor

Description of Issue:

When traversing directories during mass operations, files with spaces always cause scripts to be overly convoluted (for F in ...; do...)

Details of Issue:

Because the input field separator is white space, a collection of file names with spaces cause the list of files to break each file name into separate "words" which become meaningless. Loops blow out, etc.. The workaround is to use the (find . -name '*.xxx' | while IFS= read -r -d x...). The flexibility of this construct is limited. It needs to go away.

References (Docs, Links, Files):

If a New Page or Content is Needed, Expected Outcomes:

Link to the Content Page for Contributors:

bob-fontana pushed a commit that referenced this issue Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant