Add upload-to-files script

This commit is contained in:
Oliver Davies 2025-01-16 08:07:06 +00:00
parent 0a535c1c4e
commit 922012c215
3 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,9 @@
{ pkgs }:
pkgs.writeShellApplication {
name = "upload-to-files";
text = ''
${pkgs.rsync}/bin/rsync -avz --info=progress2 "$1" ssh.oliverdavies.uk:/var/www/vhosts/files.oliverdavies.uk
'';
}