Slashdot Mirror


User: rluberti

rluberti's activity in the archive.

Stories
0
Comments
4
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 4

  1. My personal solution: JAVA +ANT on Laptop/Server Data Synchronization? · · Score: 1

    it works fine even on different OSs......I believe you can make bi-directional too....
    my version is just few lines and it has email notification when it has finished:

    script to run it:
    set ANT_OPTS="-Xms256m -Xmx256m"  This setting is to handle many files
    ant -v -logfile log.txt

    build.xlm:

    <project name="backup" default="start" basedir="/">
        <description>
           Script to backup my files
        </description>

         <property name="backupFrom" value="BackupSystem@mydomain.com"/>
         <property name="backupAdmin" value="Me@mydomain.com"/>
         <property name="BackupDestDir" value="y:"/>
         <property name="NetworkDestDir" value="\\10.10.1.167\Backup"/>

         <target name="init">
        <tstamp/>
        <echo message="Backup started: ${TODAY} @ ${TSTAMP}"/>
          </target>

    <target name="copy" depends="init" description="copy the files" >

        <echo message="Removing ${BackupDestDir} drive....."/>
        <exec executable="net" failonerror="false" failifexecutionfails="false" >
            <arg line="use ${BackupDestDir}  /d"/>
        </exec>

        <echo message="connecting ${BackupDestDir} drive....."/>
        <exec executable="net" failonerror="true">
            <arg line="use ${BackupDestDir} ${NetworkDestDir}"/>
        </exec>

        <!-- All my stuff -->
        <copy todir="${BackupDestDir}/SyncDir"  verbose="true" failonerror="false" preservelastmodified="true">
            <fileset dir="/Documents and Settings/User" >

            </fileset>
        </copy>

    </target>
    <target name="start" description="backs up my files" >
        <mail mailhost="mail.mydomain.com" mailport="25" from="${backupFrom}"
        tolist="me@mydomain.com"  subject="backup's log - ${TODAY} ${TSTAMP}"
        charset="ISO-8859-1">

            <fileset dir="/Documents and Settings/User/Backupscript">
                <include name="**/log.txt"/>
            </fileset>
        </mail>

        <echo message="Backup finished: ${TODAY} @ ${TSTAMP}"/>

    </target>

    </project>

  2. Re:Uh on New Phone Service Promises to ID Songs · · Score: 3, Insightful

    for me is already crazy to see people pay for ring tones.....same people will probably use that service... I guess after knowing the music name...the same service will try to seel you the ring tone...

  3. Italy on Getting an IT Job in Europe as an American · · Score: 1

    if you think about Italy, you need to speak italian ..... also consider that salaries are much lower than USA and cost of living much higher...BUT money.. it's a much better place to live for sure!!!

  4. Re:It's True. on Only 32% of Java developers really know Java · · Score: 1

    when I was interviewing candidates, most of them was failing when asked to write the code for converting a string in a number.....and they couldn't draw a class diagram from very simple specs. I believe people has less time to improve their knowledge on what they already know....because they are pushed to move forward with new "cool" stuff every month.