Linux command
tran 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open the file browser TUI
tran
Open TUI in a specific directory
tran --start-dir [/path/to/dir]
Send a file or directory to a remote computer
tran send [file_or_directory]
Receive files from a remote computer
tran receive [password]
Authenticate with GitHub
tran auth login
Sync tran config file
tran sync start
说明
tran is a command-line tool and TUI that allows secure transfer and sending of files and directories between computers. It provides a file browser interface for selecting files and uses password-based authentication for receiving transfers. Configuration is stored in ~/.config/tran/tran.yml.
参数
- --start-dir _path_
- Set the starting directory for the TUI.
FAQ
What is the tran command used for?
tran is a command-line tool and TUI that allows secure transfer and sending of files and directories between computers. It provides a file browser interface for selecting files and uses password-based authentication for receiving transfers. Configuration is stored in ~/.config/tran/tran.yml.
How do I run a basic tran example?
Run `tran` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --start-dir _path_ do in tran?
Set the starting directory for the TUI.