Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Single quotes and explicit MP4 naming suggestion #2

Open
m4k04 opened this issue Oct 13, 2016 · 1 comment
Open

Single quotes and explicit MP4 naming suggestion #2

m4k04 opened this issue Oct 13, 2016 · 1 comment

Comments

@m4k04
Copy link

m4k04 commented Oct 13, 2016

I was running into errors when using rm to remove MP4s in instances where I had enclosed the entire path in double quotes.

adb shell rm "/mnt/sdcard/Movies/Red Hot Chili Peppers - Dani California.mp4"
rm failed for /mnt/sdcard/Movies/Red, No such file or directory

I also ran into errors using double quotes around just the MP4 file name at the end of the path.

adb.exe shell rm /mnt/sdcard/Movies/"Red Hot Chili Peppers - Dani California.mp4"
rm failed for /mnt/sdcard/Movies/Red, No such file or directory

I would ultimately suggest stating outright to make sure that the name of the MP4 being pushed doesn't have spaces.

Alternatively I was able to get around the issue by using single quotes around the MP4 file name at the end of the path.

adb shell rm /mnt/sdcard/Movies/'Red Hot Chili Peppers - Dani California.mp4'

Other than that, props on the app!

@stefansundin
Copy link
Owner

This might be a difference how cmd in Windows is interpreting arguments, versus to Linux and Mac.

I don't remember for sure, but I think I tested the commands in the README when I wrote them..

Anyway, glad you got it working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants