# Suppress all but errors

If computers get too powerful, we can organize them into a committee — that will do them in.” —Bradley’s Bromide

I’m too cheep to buy a program to do backups and file synchronizations to USB drives.  Using MS Windows I purchased a program called ‘Synchronize It!’ that was really wonderful to use.  Coming back to Mac after being away since my Mac Classic I looked for a replacement to ‘Synchronize It!.’

I gave up looking right away because I knew that UNIX machines have this built in at the command prompt level.  With my MAC I just fire up Terminal and evoke rsync.

While rsync is undoubtedly considerably more powerful than Synchronize It!, I was less familiar with it.  Oh, I’ve used it on LINUX, but hardly could I say that I was familiar or comfortable with rsync.

I’ve been running the following:

sudo rsync -au --progress --human-readable --prune-empty-dirs /source/path/ /dest/path

This gives lots of output on the terminal window, but can be tiresome.  I wanted to suppress the output of all but the errors.

I tried:

sudo rsync -a --update --prune-empty-dirs --quiet

rsync: delete_file: rmdir “a directory” failed: Directory not empty (66)

rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-35.2/rsync/main.c(992) [sender=2.6.9]

I do not see the error directories or files for the second error.

To test things out a little I added –list-only switch.

Still I wish to see the files that were not transfered.

Conclusion = pending.

## 3 thoughts on “rsync”

1. DonaldMcGahan says:

Now I use >rsync -auvhS –stats /source/path/ /dest/path

2. DonaldMcGahan says:

Better yet

rsync -auvhSE –stats /source/path/ /dest/path
or
rsync -auvhSE –progress –stats /source/path/ /dest/path