adbtuifm

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 20 Imported by: 0

README

Go Report Card

adbtuifm

demo

adbtuifm is a TUI-based file manager for the Android Debug Bridge (ADB), to make transfers between the device and client easier.

It has been tested only on Linux. Windows/Mac is currently not supported.

Note that this is an experimental release, so expect bugs.

Features

  • Transferring files/folders between the ADB device and the local machine
  • Copy, move, and delete operations on the ADB device and the local machine seperately
  • Ability to change to any directory via an inputbox, with autocompletion support
  • Ability to select multiple items and perform various operations on them (multiselection mode)

Installation

go get -u github.com/darkhz/adbtuifm

Usage

adbtuifm [<flags>]

Flags:
  --mode <Local/ADB>  Specify which mode to start in
  --remote=<path>     Specify the remote(ADB) path to start in
  --local=<path>      Specify the local path to start in

Keybindings

Note: Only Copy operations are cancellable, Move and Delete operations will persist

Main Page

Operation Key
Switch between panes Tab
Navigate between entries Up/Down
Change directory to highlighted entry Enter
Change one directory back Backspace
Switch between ADB/Local (in each pane) s
Switch to operations page o
Change to any directory g
Refresh r
Copy c
Move m
Paste/Put p
Delete d
Toggle hidden files h
Multiselect mode (select one item) S
Multiselect mode (select all items) A
Cancel pending operation/ Reset selections Esc
Quit q

Operations Page

Operation Key
Navigate between entries Up/Down
Switch to main page o/Esc
Cancel selected operation x
Cancel all operations X
Clear operations list C

Autocompletion Inputbox

Operation Key
Navigate between entries Up/Down
Autocomplete Tab/Any key
Change directory to highlighted entry Enter
Move back a directory Ctrl+W
Switch to main page Esc

Confirm/Error Dialog

Operation Key
Switch between textview and buttons Left/Right
Scroll in textview Up/Down
Select highlighted button Enter

Bugs

  • In directories with a huge amount of entries, autocompletion will lag. This happens only on the device side (i.e ADB mode), where there is significant latency in transferring and processing the directory listing to the client.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL