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

Spaces in file path on Windows prevent source file from being found #12

Open
CharlesBelov opened this issue Sep 17, 2019 · 1 comment
Open

Comments

@CharlesBelov
Copy link

CharlesBelov commented Sep 17, 2019

Withdrawing issue for better definition. Okay to close.

@CharlesBelov CharlesBelov changed the title Spaces in file path on Windows prevent source file from being found Withdrawn issue Sep 17, 2019
@CharlesBelov CharlesBelov changed the title Withdrawn issue Spaces in file path on Windows prevent source file from being found Sep 17, 2019
@CharlesBelov
Copy link
Author

Reopening with corrected description.

If I attempt to run mysqldumpsplitter.sh in MINGW64 on Windows 10 on a file that has a space in its file path, the attempt fails.

Given file '/m/backups/190902 backups/2019-09-03T18-07-11_UTC_database.sql'

$ mysqldumpsplitter.sh --extract ALLTABLES --decompression none --source '/m/backups/190902 backups/2019-09-03T18-07-11_UTC_database.sql'

Expected result: mysqldumpsplitter.sh processes the file.

Actual result:

mysqldumpsplitter.sh: line 342: [: /m/backups/190902: binary operator expected
mysqldumpsplitter.sh: line 95: [: /m/backups/190902: binary operator expected
mysqldumpsplitter.sh: line 99: [: /m/backups/190902: binary operator expected
Setting compression gzip (default).
Setting no decompression.
File /m/backups/190902 backups/2019-09-03T18-07-11_UTC_database.sql is a regular dump.
Setting output directory: out.
Processing: Extract ALLTABLES from /m/backups/190902 backups/2019-09-03T18-07-11_UTC_database.sql with compression option as gzip and output location as out
cat: /m/backups/190902: No such file or directory
cat: backups/2019-09-03T18-07-11_UTC_database.sql: No such file or directory
Total tables extracted.

@CharlesBelov CharlesBelov reopened this Sep 17, 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