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

Error for files with backticks in name: unexpected EOF while looking for matching `` #41

Open
dima74 opened this issue Jul 14, 2019 · 0 comments

Comments

@dima74
Copy link

dima74 commented Jul 14, 2019

If I have a file which name contains backtick (`), then I can't open this file. For example I have file /storage/0403-0201/E`kzamen, then adbfs will print the following error:

--*-- exec_command: adb shell "ls -l -a -d '/storage/0403-0201/E`kzamen'" 2>&1
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file

The solution would be to escape backtick, so the command becomes adb shell "ls -l -a -d '/storage/0403-0201/E\`kzamen'"

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