Close

list & pull

A project log for Silly software wishlist

Motivation to do some software projects by writing them down.

lion-mclionheadlion mclionhead 09/14/2023 at 22:080 Comments

Lions wrote push a long time ago & it works bloody well at moving files to a phone.

https://hackaday.io/project/138050-silly-software-wishlist/log/160353-move-mutiple-files-to-an-android-phone

Recently, there's a new desire to list directories & get files from a phone.  list & pull would be desirable entries.  To this day, list is not a standard Linux command despite ls existing for decades.  Maybe in honor of commodore heritage, it should be

lI

A lot of commands could use a lowercase uppercase abbreviation in honor of commodore heritage.  push came from ADB lingo, but the original FTP commands were ls, get, put which in C64 lingo would be

lI, gE, pU

 To this day, list, get, put are not standard Linux commands.

Lions wrote webphone a long time ago, but wifi is too slow to transfer large files.

https://hackaday.io/project/138050-silly-software-wishlist/log/179072-web-based-file-manager-for-android


list, pull, & a text file viewer might be better off consolidated in an interactive file browser that communicates over ADB.  There is an Android commander for windows.

------------------------------------------------------------------------------------------------------------------------

A big piece of the puzzle is tab completion for an ADB wrapper.  It would have to run ls on the phone. 

As described in

https://opensource.com/article/18/3/creating-bash-completion-script

You have to run the complete, compgen commands in the .bashrc to create completion commands. 

Discussions