SCP
Transfer files from/to the agent
Important
For windows paths, / must be used instead of \:
tealc scp [AGENT_NAME]:C:/PATH/TO/FOLDER .
SCP
Note
The -r flag is included by default.
Transfer files from the client to the agent
tealc scp /PATH/TO/SOURCE/FILE [AGENT_NAME]:/PATH/TO/TARGET/FILE
Transfer files from the agent to the client
tealc scp [AGENT_NAME]:/PATH/TO/TARGET/FILE /PATH/TO/SOURCE/FILE
RSYNC
tealc rsync -arvP [AGENT_NAME]:C:/Path1 [AGENT_NAME]:C:/Windows/PATH2 .
Warning
On Windows agents, you can only copy from or to one drive per command. you can copy multiple directories from the same drive, but cannot copy from C: and D: in the same command.
RCLONE
rclone can be used to mount a folder from the agent to the local machine.
tealc rclone [AGENT_NAME]:/remote/path /local/path