#!/bin/bash # tailscale status will give you the devices names to use as 2nd parameter # fisrt param is the file to send notice ./ as you have to be in the root folder where the file lies sudo tailscale file cp ./$1 $2: