DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th November 2022
hd77 hd77 is offline
Shell Scout
 
Join Date: Jan 2022
Posts: 97
Default rclone, openbsd, sync only and all odt

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 sourceath destath [flags]

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!
Reply With Quote
  #2   (View Single Post)  
Old 14th November 2022
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 304
Default

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.
Reply With Quote
  #3   (View Single Post)  
Old 19th November 2022
CiotBSD CiotBSD is offline
c107:b5d::
 
Join Date: Jun 2019
Location: Under /
Posts: 175
Default

Hi.
See the flags page: https://rclone.org/flags/
and particularly the flags '--include'
__________________
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
Reply With Quote
  #4   (View Single Post)  
Old 19th December 2022
hd77 hd77 is offline
Shell Scout
 
Join Date: Jan 2022
Posts: 97
Default

Quote:
Originally Posted by CiotBSD View Post
Hi.
See the flags page: https://rclone.org/flags/
and particularly the flags '--include'
thanks man, it worked with that
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick