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

ls: Unknown option '-L'. Aborting. #11

Open
DeaD3R opened this issue Sep 14, 2023 · 3 comments
Open

ls: Unknown option '-L'. Aborting. #11

DeaD3R opened this issue Sep 14, 2023 · 3 comments

Comments

@DeaD3R
Copy link

DeaD3R commented Sep 14, 2023

On Amazon Fire HD 10 7th gen (2017), I get this in the console:

ls: Unknown option '-L'. Aborting.

ls: Unknown option '-L'. Aborting.

ls: Unknown option '-L'. Aborting.

and no files or folders listed in the left panel:
image

ADB is connected and PC is authorized.

Fire runs modified Android 5.1. Could this be old OS issue or FireOS issue?

Also I get same line

ls: Unknown option '-L'. Aborting.

whenever I enter or delete any character in the address bar.

@T0biasCZe
Copy link
Owner

try opening cmd in the same folder where you download the program and run "adb shell ls /sdcard/"

@DeaD3R
Copy link
Author

DeaD3R commented Sep 15, 2023

try opening cmd in the same folder where you download the program and run "adb shell ls /sdcard/"

running that command lists the folders in the internal storage.

Alarms
Android
Books
DCIM
Documents
Download
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
Smart AudioBook Player Backup
Subtitles
kindle

@T0biasCZe
Copy link
Owner

T0biasCZe commented Feb 9, 2024

ok finally got time to get to this, I have basic implementation made, so it "works" on legacy Android devices, however currently it takes lot of time to load a directory* - OK for copying whole DCIM / camera directory, kinda annoying to use for copying few files out of large directory
https://github.com/T0biasCZe/AdbFileManager/releases/tag/beta1.8.0

* explanation: since the -lL doesnt work, i cant use the attributes to quickly check if entry is an folder or a file - so currently its ls-ing every entry it finds, and android returns the file path if the directory is path, so i am currently using that to check if the file is directory - however its slow AF

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

2 participants