parent
5227e82c15
commit
d18476da73
16 changed files with 1 additions and 1 deletions
11
packages/upload-to-files.nix
Normal file
11
packages/upload-to-files.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue