18 lines
347 B
Nix
18 lines
347 B
Nix
|
{
|
||
|
writeShellApplication,
|
||
|
rclone
|
||
|
}:
|
||
|
|
||
|
writeShellApplication {
|
||
|
name = "custom-nextcloud-sync-from-local";
|
||
|
|
||
|
runtimeInputs = [
|
||
|
rclone
|
||
|
];
|
||
|
|
||
|
text = ''
|
||
|
rclone sync -v --progress ~/Documents/Nextcloud Nextcloud-Private:Documents
|
||
|
rclone sync -v --progress ~/Documents/NextcloudCodappix/Documents/ Nextcloud-Codappix:Documents
|
||
|
'';
|
||
|
}
|