From ttstam@u.washington.edu Mon Oct 11 11:24:32 1999 Received: from mxu2.u.washington.edu (mxu2.u.washington.edu [140.142.32.9]) by lists.u.washington.edu (8.9.3+UW99.09/8.9.3+UW99.09) with ESMTP id LAA48126 for ; Mon, 11 Oct 1999 11:24:31 -0700 Received: from s8-42-3.student.washington.edu (IDENT:ttstam@S8-42-3.student.washington.edu [128.208.42.3]) by mxu2.u.washington.edu (8.9.3+UW99.09/8.9.3+UW99.08) with ESMTP id LAA26276 for ; Mon, 11 Oct 1999 11:24:31 -0700 Received: from localhost (localhost [[UNIX: localhost]]) by s8-42-3.student.washington.edu (8.9.3/8.9.3) id LAA07109 for linux@u.washington.edu; Mon, 11 Oct 1999 11:24:48 -0700 From: Terence Tak-Shing Tam To: linux@u.washington.edu Subject: File Synchronization between a Winblows laptop and a Linux desktop Date: Mon, 11 Oct 1999 11:16:24 -0700 X-Mailer: KMail [version 1.0.20] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <99101111244701.06231@s8-42-3.student.washington.edu> Content-Transfer-Encoding: 8bit Hi guys, I need to write a script to automatically synchronize my user files on my desktop and laptop each night before I run my nightly backup. Can you guys give me some feedback on how to do this? Here's what I've thought about doing: Approach 1: FTP Run an FTP daemon on my Windows laptop. Use an off-the-shelf FTP mirroring tool (such as wget) to mirror the laptop's file. Problems: I *really* don't like the idea of having an FTP daemon running on a Windows box day in, day out. So, I'd like to be able to start and stop the FTP daemon so that access is only open between a certain time slot. Because this is a laptop, it's going to be travelling with me to different networks and such; and FTP daemons only really work when you have a static IP. (It'll go nuts if you swap the IP around). Does anyone know of an app that will shutdown applications remotely, and/or on a time frame? I am thinking Back Orifice 2000 with 3DES or stronger encryption. I am guessing that there's a command-line Linux client for it. Approach 2: Samba Share out my drives on Samba mount, smbmount the drive, and start copying files. Problems: I can't get Samba mounts to work on my Linux box. I can mount non-password protected stuff, but smbmount seems to glitch when I mount anything that has a password on it. FYI, I'm giving the command: smbmount //Igor/Documents password mountpoint (as instructed in the man page). No luck. And, knowing Windows sekurity, I've sat in on a lecture on just how easy samba-mount passwords can be decrypted. So, it doesn't seem like to viable an option either. Final questions: Does anyone know of an utility that can power-off a Windows box at a certain time? Thankx! -=- Terence .