Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Automated Backups on Tiger Using rsync
Subject:   Whats wrong with my syntax?
Date:   2006-04-06 20:19:17
From:   machine117
I am trying to rsync using the command found on page one, but constantly get this error:


My commandrsync -aE --delete ~/Desktop /Volumes/WD250/BU
rsync: -E: unknown option
rsync error: syntax or usage error (code 1) at main.c(1023)


What am I doing wrong? I noticed in the rsync man that it uses -e with the --delete flag, not -E, but when I use that, I get mixed results. Files copy over, but with don't keep any settings such as what program opens them, and applications come out useless. Any help appreciated!

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Whats wrong with my syntax?
    2006-12-17 22:58:23  valdi [View]

    Im running the following command:

    rsync -aE --delete /Users/MacBook/Desktop/me/ /Volumes/HD/ 2>>~/rsyncErr.txt || echo -n

    and its working fine, but my problem is the volume HD when i drag it to terminal sometimes it shows HD, sometimes it shows HD-1 and sometimes HD-2, im really confused .. cause if its hd-1 and its written in the command as hd-2 it will not take a backup.

    note that HD is a folder located in the Xserve raid and its connected to my computer through the ethernet network!
    how can i avoid this problem!
    thanks
  • Whats wrong with my syntax?
    2006-04-06 20:34:39  machine117 [View]

    Double correction: I found the error of my ways. After reading a different article, I remembered that a while back I had installed and subsequently removed RsyncX, not knowing it changed my syntax. All is well with this instead:

    -a --eahfs --delete
  • Whats wrong with my syntax?
    2006-04-06 20:27:29  machine117 [View]

    Correction: Apps are OK, my mistake.