Re: How can I sync. my USB drive with /home?

2007-04-24 Thread Dustin Harriman

Perfect, thanks!

On 4/23/07, Jeffrey M. Smith <[EMAIL PROTECTED]> wrote:

On Monday 23 April 2007 09:45:35 Dustin Harriman wrote:
> If there were only some KDE equivalent to unison-gtk, then I would be
> able to specify my destimation folder to sync to using an URI like
> above (eg. "smb://windows_box/some_share"), taking advantage of the
> KDE kioslaves.

komparator, maybe?

From the package description:
> Description: directories comparator for KDE
>  Komparator is an application that searches and synchronizes two
> directories. It discovers duplicate, newer or missing files and empty
> folders. It works on local and network or kioslave protocol folders.
>  .
>   Homepage: http://komparator.sourceforge.net

--
Jeffrey M. Smith <[EMAIL PROTECTED]>
Jabber: [EMAIL PROTECTED]
---
Quote of the moment:

All the simple programs have been written.





--
Dustin Harriman

My Blog: http://ca.blog.360.yahoo.com/dustinharriman
RSS Feed: http://ca.blog.360.yahoo.com/rss-RkGSoVA1brWtXrVH9Gr5CzgVujwwGg--?cq=1

"Freedom is not the capacity to do whatever we please; freedom is the
capacity to make intelligent choices"  -Francis Moore Lappé



Re: How can I sync. my USB drive with /home?

2007-04-23 Thread Eduard
Hi Dustin,

I had the same findings - on top of that dealing with umlauts (öäüÖÄÜß).

My best working software under Linux is Krusader. I found Unison GTK too 
thorough (== AND slow) for my needs.

The best software for me is still Directory Compare 
http://tp.lc.ehu.es/jma/win95.html
which I use from a KVM/quemu-started Windows on SMB-mounted Linux-shares.
It only cares for size (which is mostly what I need) ignores cases which IS a 
nightmare cooperating Windows/Linux although somewhat handled (!!) by Samba. 
It copes with Umlauts.
I use this software for many years now - until 2002 on Windows only. Mainly 
syncing "docs to read" and music-files from/to my computers.

HTH

Eduard

Am Montag, 23. April 2007 schrieb Dustin Harriman:
> Hello Theo and everyone,
>
> I'm curious is anything has been turned up that Theo was asking about
> (he was wondering if there is a KDE-equivalent of "unison-gtk")?  
> ... 
> Now, when I'm sitting at my Linux box and want to synchronize in the
> other direction, things get ugly.  The best technique I can come up
> with for now is to "smbmount" the windows directory, then use
> unison-gtk, syncronizing the Linux folder with the Windows folder,
> which is now mounted somewhere.  eg:



Re: How can I sync. my USB drive with /home?

2007-04-23 Thread Jeffrey M. Smith
On Monday 23 April 2007 09:45:35 Dustin Harriman wrote:
> If there were only some KDE equivalent to unison-gtk, then I would be
> able to specify my destimation folder to sync to using an URI like
> above (eg. "smb://windows_box/some_share"), taking advantage of the
> KDE kioslaves.

komparator, maybe?

From the package description:
> Description: directories comparator for KDE
>  Komparator is an application that searches and synchronizes two
> directories. It discovers duplicate, newer or missing files and empty
> folders. It works on local and network or kioslave protocol folders.
>  .
>   Homepage: http://komparator.sourceforge.net

-- 
Jeffrey M. Smith <[EMAIL PROTECTED]>
Jabber: [EMAIL PROTECTED]
---
Quote of the moment:

All the simple programs have been written.



Re: Re: How can I sync. my USB drive with /home?

2007-04-23 Thread Dustin Harriman

Hello Theo and everyone,

I'm curious is anything has been turned up that Theo was asking about
(he was wondering if there is a KDE-equivalent of "unison-gtk")?  I
find myself hankering for a tool like this as well, for a slightly
different but very common and useful purpose.  Let me illustrate with
this example:

I have a Windows box and a Linux box.  An SSH server is running on the
Linux box, and several folders on the Windows box are shared out which
I can read and write to from Konqueror (or dolphin), using an URI like
"smb://windows_box/some_share".  KDE kioslaves kick butt, I tell you.

Simple, graphical file copying is not a problem in either direction
between these 2 machines.  I can use Konqueror or Dolphin in Linux,
and I can use winscp in Linux.

But simple, graphical file synchronizing is where I have a need to
fulfill.  I have a folder on the Linux box and another folder on the
Windows box that I want to keep in sync, regardless of which of the
two machines I'm sitting at.  When I'm sitting at the Windows box, I
can synchronize these 2 folders using Unison for Windows, which works
well (thanks to the SSH server on the Linux box).

Now, when I'm sitting at my Linux box and want to synchronize in the
other direction, things get ugly.  The best technique I can come up
with for now is to "smbmount" the windows directory, then use
unison-gtk, syncronizing the Linux folder with the Windows folder,
which is now mounted somewhere.  eg:

mount -t smbfs -o "username=some_user,password=some_pwd"
//windows_box/some_share /mnt/windows

...but this technique has two drawbacks.  It is not graphical, and it
requires root access (or some sudo configuring, which is also not
terribly convenient)

If there were only some KDE equivalent to unison-gtk, then I would be
able to specify my destimation folder to sync to using an URI like
above (eg. "smb://windows_box/some_share"), taking advantage of the
KDE kioslaves.

I feel this would be the most straightforward solution, and would
basically make it possible to synchronize from a Linux box to a
Windows box (for the average user who wants a graphical tool for
everything and doesn't want to write little scripts).

So in conclusion, I echo Theo's question, asking if there is such a thing.

Cheers,
Dustin Harriman

My Blog: http://ca.blog.360.yahoo.com/dustinharriman
RSS Feed: http://ca.blog.360.yahoo.com/rss-RkGSoVA1brWtXrVH9Gr5CzgVujwwGg--?cq=1

"Freedom is not the capacity to do whatever we please; freedom is the
capacity to make intelligent choices"  -Francis Moore Lappé



Re: How can I sync. my USB drive with /home?

2005-10-08 Thread Theo Schmidt

Derek Broughton schrieb:

David Pye wrote:

...

It's not a kde applet, but rsync is excellent for this kind of thing.


Even better, Unison.  It uses rsync to do the actual copying, and includes
all the necessary scripting.


I've used both and find them quite different. The graphical Unison is 
easy to use and works in both directions, i.e. if you have new files on 
both drives it it easy to end up with all new files on both drives. If 
you're not careful it is also easy to delete files you really wanted to 
keep. Unison is slow, so if you have thousands of files to synchronize, 
you will be in for a long wait.


Rsync works in only one direction (at a time) and is thus ideal if you 
want to backup or duplicate the contents of one drive onto the other. It 
is at first rather difficult to set up properly, but once done, the 
command line program works superbly. It is much faster than Unison.


Now what I really want is a KDE-type tool with the power of rsync. 
Anybody know of something in the works?


Theo Schmidt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I sync. my USB drive with /home?

2005-10-08 Thread Derek Broughton
David Pye wrote:

> On Friday 07 October 2005 19:25, Robert Tilley vewrote:
>> I wish to automate the process of continually copying the contents of my
>> USB drive (/media/sda1) to my /home directory.
>>
>> Scripting should be able to accomplish this.  Does a KDE program or
>> applet exist to help me in my search?
> 
> It's not a kde applet, but rsync is excellent for this kind of thing.
> 
Even better, Unison.  It uses rsync to do the actual copying, and includes
all the necessary scripting.
-- 
derek


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I sync. my USB drive with /home?

2005-10-08 Thread Jan Schledermann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Tilley wrote:

> I wish to automate the process of continually copying the contents of my
> USB drive (/media/sda1) to my /home directory.
> 
> Scripting should be able to accomplish this.  Does a KDE program or applet
> exist to help me in my search?
> 
> Thanks, Bob

You could create a script like this and store it appropriately somewhere
under your home dir:
- ---

#!/bin/sh

TARGETDIR=/home/myname/usbstick
rsync -qrRlpogt --delete /media/sda1 $TARGETDIR


- ---

And then create a link to it on your desktop or on the kicker whichever
suits you the best.
Executing the script at regualar intervals is also possible but would
probably a waste of resources.

As you see will observe this is one-way-syncing from the stick to your home
directory. the --delete will remove files from the target directory that do
not reside on the stick any longer. Remove this parameter if you don't want
this.

Best regards

Jan

- -- 
** Do not use the reply-to address. It'll end up in the trash can
** Mail me at: janATschledermann.or"REMOVE_THIS"g 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDR9P+2e7hhNVjt04RAquJAKC7NEIqNLKMnqLoQSWkXnITfu+qIACgvdqw
U4x1c+IZuJPrJmTXcpsuX20=
=3HG7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I sync. my USB drive with /home?

2005-10-07 Thread David Pye
On Friday 07 October 2005 19:25, Robert Tilley wrote:
> I wish to automate the process of continually copying the contents of my
> USB drive (/media/sda1) to my /home directory.
>
> Scripting should be able to accomplish this.  Does a KDE program or applet
> exist to help me in my search?
>
> Thanks, Bob
> --
> Never reveal your best argument.

It's not a kde applet, but rsync is excellent for this kind of thing.

David


-- 
---
Your manuscript is both good and original, but 
the part that is good is not original and the part
that is original is not good. -- Samuel Johnson
---
If it smells it's chemistry, if it crawls it's biology, 
if it doesn't work it's physics


pgpmeyYe9CoWP.pgp
Description: PGP signature