![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
hello
Im attempting to reproduce my little documents backup system with rclone to a server Im doing it under linux, like : rclone sync -P /home/user/*odt server:/odt/ trying into openbsd : rclone sync -P /home/user/*odt server:/odt/ results in: rclone sync -P "/home/user/"*odt 'server:/odt < Usage: rclone sync source ![]() ![]() Flags: --create-empty-src-dirs Create empty source dirs on destination after sync -h, --help help for sync Use "rclone [command] --help" for more information about a command. Use "rclone help flags" for to see the global flags. Use "rclone help backends" for a list of supported services. Command sync needs 2 arguments maximum: you provided 3 non flag arguments: ["/home/user/abc.odt" "/home/user/def.odt" "server:/odt/"] how could I get it solved? I already tried with brackerts ".." or '..' for the server... or using ~/*odt or /home/*odt for the source part.. didnt worked.. thank you for helping! |
|
|||
![]()
I think you need the "" around the source part. The shell is interpreting the * and substituting multiple paths before rclone ever sees it. That's why rclone thinks it's seeing too many arguments.
|
|
|||
![]()
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|||
![]() Quote:
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
openbsd, rclone, crontab | hd77 | OpenBSD General | 1 | 11th June 2022 12:47 PM |
OpenBSD Sync disks in a better way | e1-531g | News | 2 | 3rd February 2018 03:46 PM |
ext2fs -o sync | soderlund | OpenBSD General | 7 | 27th November 2014 06:18 AM |
How to know if the system is in sync | sepuku | OpenBSD Installation and Upgrading | 29 | 8th September 2011 12:24 PM |
Best Way to sync web sites | roundkat | OpenBSD General | 2 | 14th September 2008 01:48 PM |