Hi everybody,
the presented script can be used (with ubuntu and without root-rights) if the
mount-processes are substituted with gvfs-mount
Something like:
gvfs-mount davs://[email protected]/cloud/files/webdav.php
and
gvfs-mount smb://user@name/share
should do the trick.
The mount-directions have to be adjusted accordingly. (~/.gvfs/...)
I don't know if other distros deliver gvfs.
Kind Regards,
Dorian
I don't know If other dis
Am 08.12.2011 um 18:35 schrieb [email protected]:
> Send Owncloud mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.kde.org/mailman/listinfo/owncloud
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Owncloud digest..."
>
>
> Today's Topics:
>
> 1. Re: ownCloud T-shirt (Bartek Przybylski)
> 2. ownsync, existing? (dal)
> 3. Re: ownsync, existing? (Juan Carlos Cornejo)
> 4. Re: ownsync, existing? (Frank Karlitschek)
> 5. Re: ownsync, existing? (Frank Karlitschek)
> 6. Re: ownsync, existing? (Dorian Alcacer Labrador)
> 7. Re: ownsync, existing? (Mario ?ani?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Dec 2011 13:26:23 +0100
> From: Bartek Przybylski <[email protected]>
> To: Frank Karlitschek <[email protected]>
> Cc: ownCloud <[email protected]>, Jan-Christoph Borchardt
> <[email protected]>
> Subject: Re: [Owncloud] ownCloud T-shirt
> Message-ID:
> <cac9v++16ctweqsuypgvwumzjdbp13wgozuxostcensyr5aa...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hello!
> Beside promotions like that i think we must create some sort of unique
> culture which will say that its fun to be a ownclouder ?
>
> 2011/12/8 Frank Karlitschek <[email protected]>:
>> Hi Jan,
>>
>> I agree with you suggestions.
>>
>> Can you help us with making this happen? :-)
>>
>>
>> Cheers
>> Frank
>>
>>
>> On 07.12.2011, at 18:50, Jan-Christoph Borchardt wrote:
>>
>>> Just popping in because I read the conversation on an ownCloud T-shirt.
>>>
>>> I think I mentioned it before in the IRC channel, but I?d suggest a
>>> very simple design over web address and ?tag lines? (especially on the
>>> back, otherwise known as ?geek tramp stamps?).
>>>
>>> Just have a dark blue shirt (_not_ black) with a white print. The
>>> ownCloud logo ? _not_ the wide version, but rather the one with text
>>> under the cloud (as on http://joindiaspora.com/u/owncloud )
>>> No address, no tag line or anything. We don?t want to make people
>>> running adverts or NASCAR racecars.
>>>
>>> Similarly, I suggest using that logo, white on dark blue, for a 4.5 cm
>>> round sticker. See
>>> http://www.flyeralarm.com/de/produkte/5223/aufkleber/indoor/weiss/gestanzt/rund
>>> Printing a ton of those and giving them away at conferences or
>>> anywhere really has worked splendidly for Unhosted. Just print 5000
>>> (~100 ? only) and give them to people.
>>>
>>> (I?m not on this list so please put me in CC when answering. Or find
>>> me on IRC, #unhosted on freenode.)
>>> _______________________________________________
>>> Owncloud mailing list
>>> [email protected]
>>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>> Frank Karlitschek
>> [email protected]
>>
>>
>> _______________________________________________
>> Owncloud mailing list
>> [email protected]
>> https://mail.kde.org/mailman/listinfo/owncloud
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 08 Dec 2011 14:39:53 +0100
> From: dal <[email protected]>
> To: [email protected]
> Subject: [Owncloud] ownsync, existing?
> Message-ID: <[email protected]>
> Content-Type: text/plain; CHARSET=US-ASCII
>
> Hello everybody,
>
> first of all: owncloud totally rocks!!! (I've forgotten to leave that
> statement in my former e-mails)
>
> My question is: are there any (scripting-)efforts for syncing the
> owncloud-files to a mac and/or linux-system?
> I didn't find anything fitting, yet.
>
> Elsewise I would like to discuss my first attempts reasoned by my preferred
> use-case [see below].
> It's a quick-hacked bash-script, which currently works for me but I think
> this could be elaborated to a simple "ownsync-client".
>
> Kind Regards
> dal
>
> ----
>
> One of my favorite services was dropbox, though I strongly felt inconvenient
> storing my data in the cloud.
>
> In the past few days I've been trying successfully to setup my storage
> (@home) using owncloud.
>
> My current setup requires me to connect 4 devices, amongst them 2 android
> devices, 1 workstation and a macbook (which I also use as workstation when
> I'm at home and as mobile device, when I'm in the university/at work).
> WebDAV is just perfect to stay connected, when I'm "on the run"!
>
> But reasoned by networking- and protocol-speed issues I decided to setup a
> intranet-only samba-share to the owncloud files, so that the workstation(s)
> can access the data in a more convenient (faster?!) manner.
>
> Because of my habit to store some configs (e.g. for git) on a shared drive
> and link them to proper paths once I setup a system, I need to have a kind of
> persistent mount for the workstation and the macbook.
>
> This use-case obviously fails, when I'm disconnected from the internet, so I
> thought about copying the mounted files once in a while to a directory (
> ~/owncloud ) and to softlink everything necessary.
> A bidirectional sync allows me to edit the configs in place, and to be sure
> that everything is stored on the share.
>
> I've created a small bash-script (which is far from perfect):
> - tests if a mobile connection exists
> (because of bandwidth and a possible quota the script exists)
> - tests if samba host is reachable
> - mounts drive to /Volumes/owncloud (mount -t smbfs)
> - else:
> tests if webdav host is reachable
> -mounts drive to /Volumes/owncloud (mount_webdav
> -i)
> - determine which volume is newer
> 1. rsync from server to ~/owncloud
> 2. rsync from ~/owncloud to server
> or the other way around.
>
> This script is intended to run after startup and maybe once an hour or
> frequently when the last-modified information has changed.
>
> That solutions works for me, but a possible generic, cross-plattform approach
> could be to implement an equal routine using python (don't know how to handle
> rsync, yet) and to craft a github-project. Using a samba share, or rsync-ssh
> (etc.) would be considered as optional. By using python the whole
> mounting-stuff could be avoided (e.g. by means of pydav).
>
> The common idea should be a dropbox-like but surley more simple application,
> which could hopefully be realized quickly and would (at least) work on macs
> and some linux-environments.
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 8 Dec 2011 11:14:27 -0500
> From: Juan Carlos Cornejo <[email protected]>
> To: dal <[email protected]>
> Cc: [email protected]
> Subject: Re: [Owncloud] ownsync, existing?
> Message-ID:
> <CAOQe-6j-XwB=v5njuyrq2h4pswyzhxoomz2_igvob5wkr1y...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Dal and all,
>
> If I may add to your email:
> During the past weeks I have been working on a WebDAV sync for
> OwnCloud written using Qt 4.7+. ?I have been a bit hesitant to release
> it yet, for worry that it may eat your files. Though, after using it
> myself, I haven't yet noticed any file loss.
> While I was hoping to make this work with multiple OS's, due to Qt, I
> have yet to be able to compile it on Windows or OS X. ?But that's
> mainly due to not having either machine :)
> If anyone is willing to help me test it, that would be great!
> Best Regards,Juan Carlos
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 8 Dec 2011 17:33:05 +0100
> From: Frank Karlitschek <[email protected]>
> To: Juan Carlos Cornejo <[email protected]>
> Cc: dal <[email protected]>, [email protected]
> Subject: Re: [Owncloud] ownsync, existing?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
>
> This sounds cool.
>
> I suggest that you put your code on gitorious so that other can look at it
> and give you feedback.
>
> You can create a directory here:
> https://gitorious.org/owncloud/owncloud-clients
>
> What is your gitorious username?
>
>
> Cheers
> Frank
>
>
>
> On 08.12.2011, at 17:14, Juan Carlos Cornejo wrote:
>
>> Hi Dal and all,
>>
>> If I may add to your email:
>> During the past weeks I have been working on a WebDAV sync for
>> OwnCloud written using Qt 4.7+. I have been a bit hesitant to release
>> it yet, for worry that it may eat your files. Though, after using it
>> myself, I haven't yet noticed any file loss.
>> While I was hoping to make this work with multiple OS's, due to Qt, I
>> have yet to be able to compile it on Windows or OS X. But that's
>> mainly due to not having either machine :)
>> If anyone is willing to help me test it, that would be great!
>> Best Regards,Juan Carlos
>> _______________________________________________
>> Owncloud mailing list
>> [email protected]
>> https://mail.kde.org/mailman/listinfo/owncloud
>
> Frank Karlitschek
> [email protected]
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 8 Dec 2011 17:32:57 +0100
> From: Frank Karlitschek <[email protected]>
> To: dal <[email protected]>
> Cc: [email protected]
> Subject: Re: [Owncloud] ownsync, existing?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Sounds cool.
>
> Can you put your script on gitorious so that other can have a look and help
> you to improve it?
>
> I can give you write access here if you send me you gitorious login.
> https://gitorious.org/owncloud/owncloud-clients
>
>
> Cheers
> Frank
>
>
> On 08.12.2011, at 14:39, dal wrote:
>
>> Hello everybody,
>>
>> first of all: owncloud totally rocks!!! (I've forgotten to leave that
>> statement in my former e-mails)
>>
>> My question is: are there any (scripting-)efforts for syncing the
>> owncloud-files to a mac and/or linux-system?
>> I didn't find anything fitting, yet.
>>
>> Elsewise I would like to discuss my first attempts reasoned by my preferred
>> use-case [see below].
>> It's a quick-hacked bash-script, which currently works for me but I think
>> this could be elaborated to a simple "ownsync-client".
>>
>> Kind Regards
>> dal
>>
>> ----
>>
>> One of my favorite services was dropbox, though I strongly felt inconvenient
>> storing my data in the cloud.
>>
>> In the past few days I've been trying successfully to setup my storage
>> (@home) using owncloud.
>>
>> My current setup requires me to connect 4 devices, amongst them 2 android
>> devices, 1 workstation and a macbook (which I also use as workstation when
>> I'm at home and as mobile device, when I'm in the university/at work).
>> WebDAV is just perfect to stay connected, when I'm "on the run"!
>>
>> But reasoned by networking- and protocol-speed issues I decided to setup a
>> intranet-only samba-share to the owncloud files, so that the workstation(s)
>> can access the data in a more convenient (faster?!) manner.
>>
>> Because of my habit to store some configs (e.g. for git) on a shared drive
>> and link them to proper paths once I setup a system, I need to have a kind
>> of persistent mount for the workstation and the macbook.
>>
>> This use-case obviously fails, when I'm disconnected from the internet, so I
>> thought about copying the mounted files once in a while to a directory (
>> ~/owncloud ) and to softlink everything necessary.
>> A bidirectional sync allows me to edit the configs in place, and to be sure
>> that everything is stored on the share.
>>
>> I've created a small bash-script (which is far from perfect):
>> - tests if a mobile connection exists
>> (because of bandwidth and a possible quota the script exists)
>> - tests if samba host is reachable
>> - mounts drive to /Volumes/owncloud (mount -t smbfs)
>> - else:
>> tests if webdav host is reachable
>> -mounts drive to /Volumes/owncloud (mount_webdav
>> -i)
>> - determine which volume is newer
>> 1. rsync from server to ~/owncloud
>> 2. rsync from ~/owncloud to server
>> or the other way around.
>>
>> This script is intended to run after startup and maybe once an hour or
>> frequently when the last-modified information has changed.
>>
>> That solutions works for me, but a possible generic, cross-plattform
>> approach could be to implement an equal routine using python (don't know how
>> to handle rsync, yet) and to craft a github-project. Using a samba share, or
>> rsync-ssh (etc.) would be considered as optional. By using python the whole
>> mounting-stuff could be avoided (e.g. by means of pydav).
>>
>> The common idea should be a dropbox-like but surley more simple application,
>> which could hopefully be realized quickly and would (at least) work on macs
>> and some linux-environments.
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Owncloud mailing list
>> [email protected]
>> https://mail.kde.org/mailman/listinfo/owncloud
>
> Frank Karlitschek
> [email protected]
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 08 Dec 2011 18:29:36 +0100
> From: Dorian Alcacer Labrador <[email protected]>
> To: Frank Karlitschek <[email protected]>
> Cc: [email protected]
> Subject: Re: [Owncloud] ownsync, existing?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi Frank,
>
> I've just tested the script against my ubuntu-machine. There need to be major
> adjustments; the nix-systems don't seem to be compatible, at all.
> First obstacle will be, that the user isn't allowed to create folders within
> /media ? or to mount drives...
>
> So the attached file can be understood as a straight forward draft / test, or
> first shot; which means that feedbacks and improvements are _very_ welcomed.
>
> I'm not sure if a git-repository is appropriate for that custom solution.
> Just in case you disagree, my freshly obtained gitorious-account is called
> "dal" :)
>
> Overall I thought twice about the topic in the past few hours and had certain
> doubts about engaging it by myself:
> In deed there exist several webdav-syncs and mount-helpers which can be used
> to accomplish the given task; this maybe renders custom solutions needles.
>
> After all I think a dedicate owncloud-tool (maybe placed within the App Store
> and/or Ubuntu Software Centre/APT-repository/...) would be very nice,
> hopefully easy to create, easy to install and eventually a great promo for
> owncloud itself.
> Depending on the OS the client could be automatically able to system-wide
> substitute common config files [after being approved by the user whilst
> setup):] and to store them in the cloud (.vimrc, .profile, .gitconfig,
> .gitignore, ? and further Application-Settings)?
>
> Though it's not a nearby issue I've positively checked the App Store for
> python-based applications and applications that perform mounts. There
> shouldn't be any restrictions why the explained script can't be mapped to a
> python-application, packaged as an App and be submitted without being
> rejected by Apple. Regarding webdav this means, it's possible to use the
> implementation provided by the os itself.
>
> Kind Regards,
> dal
>
> Btw: I guess the future plan to enable server site encryption will disable
> the ability of sharing via samba?
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: syncOwncloud.sh
> Type: application/octet-stream
> Size: 2501 bytes
> Desc: not available
> URL:
> <http://mail.kde.org/pipermail/owncloud/attachments/20111208/b3d820b6/attachment-0001.obj>
> -------------- next part --------------
>
>
> Am 08.12.2011 um 17:33 schrieb Frank Karlitschek:
>
>> This sounds cool.
>>
>> I suggest that you put your code on gitorious so that other can look at it
>> and give you feedback.
>>
>> You can create a directory here:
>> https://gitorious.org/owncloud/owncloud-clients
>>
>> What is your gitorious username?
>>
>>
>> Cheers
>> Frank
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 8 Dec 2011 18:34:27 +0100
> From: Mario ?ani? <[email protected]>
> To: dal <[email protected]>
> Cc: [email protected]
> Subject: Re: [Owncloud] ownsync, existing?
> Message-ID:
> <CAA7yhcuaxf1eka76_yByk3_O8uv=jvvtkd0pvftfk1-ah_9...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> The smartest move, IMHO, would be to implement webdav support in
> sparkleshare. it is a cross-platform project which already works on
> Android, Mac, and Linux, and a Windows port is undergoing development
> as well. On top of that, it has a pretty UI.
>
> Cheers,
> Mario
>
> On Thu, Dec 8, 2011 at 14:39, dal <[email protected]> wrote:
>> Hello everybody,
>>
>> first of all: owncloud totally rocks!!! (I've forgotten to leave that
>> statement in my former e-mails)
>>
>> My question is: are there any (scripting-)efforts for syncing the
>> owncloud-files to a mac and/or linux-system?
>> I didn't find anything fitting, yet.
>>
>> Elsewise I would like to discuss my first attempts reasoned by my preferred
>> use-case [see below].
>> It's a quick-hacked bash-script, which currently works for me but I think
>> this could be elaborated to a simple "ownsync-client".
>>
>> Kind Regards
>> dal
>>
>> ----
>>
>> One of my favorite services was dropbox, though I strongly felt inconvenient
>> storing my data in the cloud.
>>
>> In the past few days I've been trying successfully to setup my storage
>> (@home) using owncloud.
>>
>> My current setup requires me to connect 4 devices, amongst them 2 android
>> devices, 1 workstation and a macbook (which I also use as workstation when
>> I'm at home and as mobile device, when I'm in the university/at work).
>> WebDAV is just perfect to stay connected, when I'm "on the run"!
>>
>> But reasoned by networking- and protocol-speed issues I decided to setup a
>> intranet-only samba-share to the owncloud files, so that the workstation(s)
>> can access the data in a more convenient (faster?!) manner.
>>
>> Because of my habit to store some configs (e.g. for git) on a shared drive
>> and link them to proper paths once I setup a system, I need to have a kind
>> of persistent mount for the workstation and the macbook.
>>
>> This use-case obviously fails, when I'm disconnected from the internet, so I
>> thought about copying the mounted files once in a while to a directory (
>> ~/owncloud ) and to softlink everything necessary.
>> A bidirectional sync allows me to edit the configs in place, and to be sure
>> that everything is stored on the share.
>>
>> I've created a small bash-script (which is far from perfect):
>> ? ? ? ?- tests if a mobile connection exists ? ? ? ? ? ? ? ? ? ? ? ? ?
>> (because of bandwidth and a possible quota the script exists)
>> ? ? ? ?- tests if samba host is reachable
>> ? ? ? ? ? ? ? ?- mounts drive to /Volumes/owncloud ? ? ? ? ? ? (mount -t
>> smbfs)
>> ? ? ? ?- else:
>> ? ? ? ? ? ? ? ?tests if webdav host is reachable
>> ? ? ? ? ? ? ? ? ? ? ? ?-mounts drive to /Volumes/owncloud ? ? ?(mount_webdav
>> -i)
>> ? ? ? ?- determine which volume is newer
>> ? ? ? ? ? ? ? ?1. rsync from server to ~/owncloud
>> ? ? ? ? ? ? ? ?2. rsync from ~/owncloud to server
>> ? ? ? ? ? ? ? ?or the other way around.
>>
>> This script is intended to run after startup and maybe once an hour or
>> frequently when the last-modified information has changed.
>>
>> That solutions works for me, but a possible generic, cross-plattform
>> approach could be to implement an equal routine using python (don't know how
>> to handle rsync, yet) and to craft a github-project. Using a samba share, or
>> rsync-ssh (etc.) would be considered as optional. By using python the whole
>> mounting-stuff could be avoided (e.g. by means of pydav).
>>
>> The common idea should be a dropbox-like but surley more simple application,
>> which could hopefully be realized quickly and would (at least) work on macs
>> and some linux-environments.
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Owncloud mailing list
>> [email protected]
>> https://mail.kde.org/mailman/listinfo/owncloud
>
>
> ------------------------------
>
> _______________________________________________
> Owncloud mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
> End of Owncloud Digest, Vol 22, Issue 16
> ****************************************
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud