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

Can't deal with filename space #431

Open
wizofe opened this issue Jan 10, 2023 · 2 comments
Open

Can't deal with filename space #431

wizofe opened this issue Jan 10, 2023 · 2 comments

Comments

@wizofe
Copy link

wizofe commented Jan 10, 2023

If I use a file inside a path with a space on the filename then it bugs out:

** FATAL ERROR: Can't open dataset '/Users/wizofe/Library/Mobile'

That applies to any software in the suite I've used.

@afni-rickr
Copy link
Contributor

Hi @wizofe. Indeed, the reading libraries are based on similar assumptions as most of the shell scripting, in that spaces are used as separators. In fact, a space used in an input dataset name (such as if enclosed in quotes or if any spaces are escaped) will be considered as a request to concatenate the datasets. Spaces are not allowed in single dataset names, sorry.

@afni-dglen
Copy link
Contributor

We do provide a utility to remove spaces from file names and directories - @DeblankFileNames
The spaces do wreak havoc with shell scripts, so it is best to avoid them.

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

3 participants