12 lines
209 B
Nix
12 lines
209 B
Nix
{ pkgs }:
|
|
|
|
with pkgs;
|
|
|
|
writeShellApplication {
|
|
name = "upload-to-files";
|
|
|
|
text = ''
|
|
${pkgs.rsync}/bin/rsync -avz --info=progress2 "$1" ssh.oliverdavies.uk:/var/www/vhosts/files.oliverdavies.uk
|
|
'';
|
|
}
|