Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help! Can't get unison to delete files. :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
sgtrock
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 87

PostPosted: Mon Jul 31, 2006 3:57 pm    Post subject: Help! Can't get unison to delete files. :( Reply with quote

OK, call me dense. I've been through the documentation a dozen times and I'm still not getting things to work properly. :( As the home page seems to be most kindly described as static, I'm hoping someone here might be able to tell me what stupid configuration mistake I've made. :oops:

I currently have two P4 systems that are shared between 6 people. There are two adults (one part time) and four kids (one part time). I'm syncing up the home directory between them. I hope to add a third amd64 PC to relieve some of the pressure for resources. However, before I do, I have to figure out how I managed to screw up automated file deletion. Right now, existing and new files are updated properly. Deleted files have to be manually deleted on each PC.

Anyhow, I have unison running from a root owned cron job on one:
Quote:

5 2 * * * /usr/bin/nice --adjustment=19 /usr/bin/unison -ui text -batch -force newer -times jps-home.prf

The top part of jps-home.prf looks like this:
Quote:

#
# Include the common variables
#
include common

#
# Set the variables necessary for running in batch mode
# force = newer
# times = true
owner = true
group = true
silent = true
#
# Set the Ignore variables for the home directories
#
....


common looks like this:
Quote:

# UI variables
contactquietly = true
auto = true

# Diff
diff = diff -y -W 79 --suppress-common-lines

# Ignore variables
...
# log actions to the terminal
log = true


Can anyone see what I did wrong?
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Aug 02, 2006 11:57 am    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads, please don't crosspost. If you want a topic moved to a different forum then report it and one of the moderators will move it for you. Follow ups to this topic: Struggling with unison.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum