Accessing my Droid Maxx from a shell script

iceblink iceblink at seti.nl
Tue Dec 29 09:18:34 UTC 2015


On 2015-12-29 09:23, MR ZenWiz wrote:
>     indir=$DevicePath/'Internal\\ storage' ### This never works

You are attempting to put into that variable "bla\ bla" where you should 
be attempting to put "bla bla" into it. That backslash you see in the 
shell is not a real backslash but an escape character to indicate that 
the space that follows is part of the filename.

If i'm not mistaken you need to remove both backslash characters for 
this to work as intended.

Best regards,
Patrick




More information about the ubuntu-users mailing list