Synchronisation fichier video raspberry pi3 vers owncloud Zaclys

Répondre
raplapente
Messages : 1
Enregistré le : jeu. 31 juil. 2014 13:51

Synchronisation fichier video raspberry pi3 vers owncloud Zaclys

Message par raplapente »

Bonjour,
Je cherche un moyen de synchroniser les fichiers de film ou photo de ma camera de surveillance ( hivernage garde meuble) vers le owncloud de Zaclys. La camera Raspberry filme lorsque elle détecte des mouvements, les petits films ou photos pour l'instant son copié sur la carte sd du raspberry.
La place etant limité sur cette carte, je voudrais synchroniser avec mon owcloud sur zaclys de maniere a effacer les films apres la synchronisation et ne pas encombrer la carte sd . (faire comme dropbox sur zaclys)
existe t'il un logiciel de synchronisation pouvant faire ça, ou un moyen de parametrage sur le raspberry ?
je remercie les personnes qui se pencherons sur le sujet.
Avatar du membre
Bill
L'équipe Zaclys
Messages : 1723
Enregistré le : jeu. 20 févr. 2014 16:20

Re: Synchronisation fichier video raspberry pi3 vers owncloud Zaclys

Message par Bill »

Bonjour raplapente

J'ai déplacé ton sujet dans la rubrique correspondante :
Utilisation des services/Cloud/Synchronisation de fichiers.
Kubuntu Linux OS

Membre de l'équipe Zaclys
https://www.zaclys.com
jack
Messages : 153
Enregistré le : mer. 30 juil. 2014 16:58

Re: Synchronisation fichier video raspberry pi3 vers owncloud Zaclys

Message par jack »

Le sujet date de 2014 (je viens de m'en appercevoir) mais je réponds tout de même :

Il semblerait qu'il y ait un client owncloud que l'on peut lancer en ligne de commande.
J'ai fait own puis la touche <tab> et j'ai trouvé la commande owncloudcmd

Code : Tout sélectionner

trusty@trusty:~$ own
owncloud     owncloudcmd  ownership

En regardant le man, nous avons des exemples interressants :

Code : Tout sélectionner

NAME
       owncloudcmd - Command line ownCloud client tool.

SYNOPSIS
       owncloudcmd [OPTIONS...] sourcedir owncloudurl

DESCRIPTION
       owncloudcmd is the command line tool used for the ownCloud file synchronization desktop utility.  This command line tool is based on mirall.

       Contrary to the owncloud(1) GUI client, owncloudcmd only performs a single sync run and then exits. In so doing, owncloudcmd replaces the ocsync binary used for the same purpose in earlier releases.

       A sync run synchronizes a single local directory using a WebDAV share on a remote ownCloud server.

       To invoke the command line client, provide the local and the remote repository: The first parameter is the local directory. The second parameter is the server URL.

       NOTE:
          Prior to the 1.6 release of owncloudcmd, the tool only accepted owncloud:// or ownclouds:// in place of http:// and https:// as a scheme. See Examples for details.

OPTIONS
       --user, -u [user]
              Use user as the login name.

       --password, -p [password]
              Use password as the password.

       -n     Use netrc (5) for login.

       --non-interactive
              Do not prompt for questions.

       --silent, --s
              Inhibits verbose log output.

       --trust
              Trust any SSL certificate, including invalid ones.

       --httpproxy http://[user@pass:]<server>:<port>
              Uses server as HTTP proxy.

EXAMPLE
       [b]To synchronize the ownCloud directory Music to the local directory media/music through a proxy listening on port 8080 on the gateway machine 192.168.178.1, the command line would be:

          $ owncloudcmd --httpproxy http://192.168.178.1:8080 \
                        $HOME/media/music \
                        https://server/owncloud/remote.php/webdav/Music[/b]

       owncloudcmd will enquire user name and password, unless they have been specified on the command line or -n (see netrc(5)) has been passed.

       Using the legacy scheme, it would be:

          $ owncloudcmd --httpproxy http://192.168.178.1:8080 \
                        $HOME/media/music \
                        ownclouds://server/owncloud/remote.php/webdav/Music


To synchronize the ownCloud directory Music to the local directory media/music through a proxy listening on port 8080 on the gateway machine 192.168.178.1, the command line would be:

$ owncloudcmd --httpproxy http://192.168.178.1:8080 \
$HOME/media/music \
https://server/owncloud/remote.php/webdav/Music
Répondre

Retourner vers « Synchronisation de fichiers »