Skip to main content

Transfer Files

tnr scp <source> <destination>
Prefix a path with instance_id: to indicate it’s remote.
# Upload: local → remote
tnr scp ./data.csv 0:/home/user/

# Download: remote → local
tnr scp 0:/home/user/results.csv ./
Directories are transferred recursively. SSH keys and ~/ expansion are handled automatically.
Uses rsync on Linux and macOS for better performance and progress display. Falls back to scp if rsync is unavailable. On Windows/WSL, uses scp.

Best Practices

  • Compress large transfers: Zip files before transferring to reduce time
  • Use cloud storage for big files: For datasets over a few GB, upload to cloud storage and download directly to your instance