kioclient
Perform network-transparent file operations using KDE's KIO subsystem. tldr-pages
On several platforms
Several platforms
Perform network-transparent file operations using KDE's KIO subsystem. Supports URL schemes such as file:, sftp:, smb:, fish:, and trash:.
Open a URL with its default KDE handler
kioclient exec urlIdentifyPrint the contents of a remote file to stdout
kioclient cat sftp://user@host/path/to/fileIdentifyList the contents of a remote directory
kioclient ls smb://server/shareIdentifyCopy one or more files via KIO
kioclient cp path/to/source1 path/to/source2 ... path/to/destinationIdentifyMove a file via KIO
kioclient mv path/to/source path/to/destinationIdentifyRemove a file via KIO
kioclient rm urlIdentifyCreate a new directory via KIO
kioclient mkdir urlIdentifyDisplay help
kioclient --helpIdentify