Link to home
Start Free TrialLog in
Avatar of jesterepsilon
jesterepsilon

asked on

results of rsync script to firewire device when device is not attached

OS X 10.4.5, Powerbook
rsync  version 2.6.0  protocol version 27

I am running a cronjob nightly rsync script to an attached local firewire drive.  The name of the external volume is 'fibonacci'.  The script is:

* 3 * * 1 time rsync -a -b --suffix=# --backup-dir=buMonday /Users/cabenson /Volumes/fibonacci

Things are generally working as expected.  However, if the drive is not attached or mounted for some reason, the script will generate a new directory at the /Volumes/fibonacci location.

I attempt to remove that inadvertently generated directory with

rm -R /Volumes/fibonacci

When I do, I get a lot of 'Directory not empty' errors.  Sometimes  the rm -R process hangs as well.

Is there something unique about the directory tree that rsync is creating in /Volumes (when the ext firewire drive is mistakenly unattached) ?

Thanks
je
ASKER CERTIFIED SOLUTION
Avatar of brettmjohnson
brettmjohnson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Split between brettmjohnson http:#16439937 and sda100 http:#16443928

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer