Re: Two-way Sync of Directories - how? (rsync?)

2004-04-02 Thread Dany Nativel
Have you tried unison (FreeBSD, linux, win32, OSX) ? http://www.cis.upenn.edu/~bcpierce/unison/ (available in ports too) Dany Steven N. Fettig wrote: I have two workstations I use (one at home and one at work) connected via a private DSL link that each have the directories /home/me. I

Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Steven N. Fettig
I have two workstations I use (one at home and one at work) connected via a private DSL link that each have the directories /home/me. I want to run a cron job to sync the directories (bi-directionally). Rsync seems to work only in one direction (I know I could set up the script on both

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Craig Reyenga
, 2004 2:46 PM Subject: Two-way Sync of Directories - how? (rsync?) I have two workstations I use (one at home and one at work) connected via a private DSL link that each have the directories /home/me. I want to run a cron job to sync the directories (bi-directionally). Rsync seems to work only

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Kai Grossjohann
Port net/unison. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Bill Campbell
On Sun, Mar 14, 2004, Steven N. Fettig wrote: I have two workstations I use (one at home and one at work) connected via a private DSL link that each have the directories /home/me. I want to run a cron job to sync the directories (bi-directionally). Rsync seems to work only in one direction (I

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Steven N. Fettig
Bill Campbell wrote: snip I would do this with two rsync runs from one machine cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e ssh -vaurP $remote:$directory/ . Better yet, set up the directories in the rsyncd.conf files on each machine: cd $directory rsync -vaurP ./

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Stephen Liu
On Monday 15 March 2004 04:10, Bill Campbell wrote: I would do this with two rsync runs from one machine cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e ssh -vaurP $remote:$directory/ . Hi Bill, Is the option -P --partial -- progress means 'incremental'??? What will

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Steven N. Fettig
-P appears to allow you to show progress graphically with the -v switch also chosen. I think his example: cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e ssh -vaurP $remote:$directory/ . was meant to look like: cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Kai Grossjohann
Stephen Liu [EMAIL PROTECTED] writes: On Monday 15 March 2004 04:10, Bill Campbell wrote: I would do this with two rsync runs from one machine cd $directory rsync -e ssh -vaurP ./ $remote:$directory rsync -e ssh -vaurP $remote:$directory/ . Hi Bill, Is the option -P --partial --

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Bill Campbell
On Mon, Mar 15, 2004, Kai Grossjohann wrote: ... Explaining the trailing slash is more difficult. I just remember a rule of thumb: if you want to copy directories with rsync, always specify a trailing slash. On both the source and the destination. Of course, man rsync has the full story... I

Re: Two-way Sync of Directories - how? (rsync?)

2004-03-14 Thread Stephen Liu
- snip - Is the option -P --partial -- progress means 'incremental'??? -P is the same as specifying both --partial and --progress. --progress means to show a progress meter. Normally, if you interrupt rsync while it is transferring a file, rsync will delete the partially