Syncing a folder (including deletions)

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Syncing a folder (including deletions) Tue Oct 02, 2012 12:38 pm • by Kepi
Yep, another subfolder syncing post! I've gone through the sticky thread and read through a bunch of search results from the Support forum and I have two separate rule setups that almost do what I want, but I need to combine them together and am having problems.

Creating a setup based on the sticky thread gets proper subfolder syncing of added files, but it doesn't track deleted files. The rule I created before reading through the forums properly tracks additions and deletions, but doesn't delve into subfolders (which makes sense since the Modification Date of the subfolders doesn't bubble up to the folder the rule is attached to).

This is the rule I built:

Image

What do I need to change/add to get it to run through all subfolders of Dropbox/Backups? When I tried a test setup that made use of Run rules on folder contents that Mr_Noodle explained in a different thread, it would do the right thing for additions (but ignored deletes, unfortunately) except it would flatten all the contents of the subfolders into the top level of the sync destination; not good.
Kepi
 
Posts: 3
Joined: Tue Oct 02, 2012 11:59 am

Re: Syncing a folder (including deletions) Wed Oct 03, 2012 10:22 am • by Mr_Noodle
Check out my post here: viewtopic.php?f=4&t=1593&p=6500&hilit=sync+rule#p6500

The way you have it now, it will only trigger when things are added to or deleted from the Backups folder. Any changes to the files themselves or anything in subfolders won't get caught.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Syncing a folder (including deletions) Wed Oct 03, 2012 10:38 am • by Kepi
Awesome. I'll give it a go when I get back home after work.

Thank you very much.
Kepi
 
Posts: 3
Joined: Tue Oct 02, 2012 11:59 am

Re: Syncing a folder (including deletions) Wed Oct 03, 2012 11:58 pm • by Kepi
Kepi wrote:I'll give it a go when I get back home after work.

That indeed did the trick. Thank you, again!

For posterity, here's my modified, working rule:

Image
Kepi
 
Posts: 3
Joined: Tue Oct 02, 2012 11:59 am

Re: Syncing a folder (including deletions) Thu Nov 08, 2012 11:40 am • by brianedl
Is this rule set supposed to work right when the changes are made? Sometimes it kicks in right away & sometimes it does not kick in? Below is a highlighted folder that I added a file to but it has not Synced yet & I'm not sure why. I was hoping that it would work & I would not have to watch it. Should it kick in when a Modification time changes?

Image

Image

Image

Image
brianedl
 
Posts: 26
Joined: Tue Jun 05, 2012 10:08 am

Re: Syncing a folder (including deletions) Thu Nov 08, 2012 6:22 pm • by brianedl
I think also the problem is that it will not Sync if you simply change the name of a folder or a file or if you open a file make a change to it save it then close it. Shouldn't this cause the Sync to kick in or does it need another rule?
brianedl
 
Posts: 26
Joined: Tue Jun 05, 2012 10:08 am

Re: Syncing a folder (including deletions) Fri Nov 09, 2012 12:43 pm • by Mr_Noodle
It should sync. I suggest checking the logs to see what's going on.
Mr_Noodle
Site Admin
 
Posts: 11951
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support