Search the Community
Showing results for tags 'monitor'.
Found 1 result
Hey Guys - I have a remote Linux box (Debian Squeeze) which for a couple of years have been manually transferring data from it to my local PC (Win 8.1) using FTP. Once local, I'd then have to sort it manually. I started using BTSync recently instead and wish I had thought to use it earlier. It's a better solution by far - especially as I can sync music folders with my phone! I've got an issue that I've run into that I need help with. Between my remote Linux and local Windows systems, I sync a single folder which has 10 static category folders inside of it. Based on labels and rules I've set up on the Linux end, files and folders of all types are placed into one of these 10 folders for synchronization to my local PC. What I'm Trying to Do Once a file / folder is synced locally to my Windows box, it will be inside one of the 10 category folders. Based on the category folder it's in, I want it moved to a different local folder where it will be amongst similar file / folder types. The methods I've tried so far either continuously watch each category sync folder or do so at an interval. Once they see a folder / file, it's moved to the target folder. Synced Folder Structure: - "/home/user/Sync" - Single folder synced with BTSync on remote side - /home/user/Sync/Documents - /home/user/Sync/Complete - /home/user/Sync/FLAC - … (7 more folders) These 10 folders stay in root of synced folder 100% of the time are are never deleted or moved Folders / Files synced into each of the 10 folders range from a few kilobytes to multiple gigabytes. The addition may also be a single file to a folder containing numerous files and sub-folders My Issue I've found that despite rules I set, files / folders are being moved before they finish syncing from the remote linux box. The best luck I've had is setting rules not not move *.bts files since that's the extension until they are complete, but that doesn't work for folders. For example, if syncing a folder which has 10 .flac files in it locally, the folder would be created first and the first file start to sync with the .bts format. Once the first file finishes and changes to .flac, the rules move the folder to the destination thereby deleting the folder from the sync folder which finally deletes it from the source along with all other files. As I download individual files as wel as folders, I need to find a rule / method where whatever has been added to be synced will not move until it's 100% downloaded. Example of My Issue Lets say I add a folder named "Folder1" which contains a few files and sub-folders into "/home/user/Sync/Complete" on the remote side BtSync then starts to sync it locally into "D:\AppCache\Sync\Complete\Folder1" As "D:\AppCache\Sync\Complete" is monitored to move new contents, the app performing the task sees "Folder1" appear moves it immediately or (depending on how rules are set) does once a new file appears inside of it matching a filter The app moves "Folder1" immediately (or including it's single synced file depending on rules) to "D:\Complete" - The sync hasn't finished, but the monitoring app doesn't know that When the folder is moved, it's actually copying the folder to the new location and deleting it from the old one. Therefore, BTSync thinks I've deleted the folder locally so in turn deletes the remote copy. This results in the folder D:\Complete\Folder1" being empty plus the original being deleted on both local and remote sidesWhat I've Tried So far, I've tried a few Windows apps. but no scripts yet. At first, I tried Belvedere but found it's options seem to be too simplistic. Next, I tried DropIt, but has similar results. My most recent attempt was using Hygeia. Even though it seemed to offer the most choices for rule criteria; it still wasn't enough. I looked at one of my favorite sites - alternativeto.net - for additional software, but didn't see anything which may work better. I considered setting up individual sync folders per category and syncing them locally with the target folders which the rules are to move the data to post sync, but the local folders contains tons of data which I don't want to sync. Doing so would be impossible given my resources. If I do this and set the local sync to Read Only, will that accomplish the task? I'm using BTSync 2.x on both ends and plan to upgrade to Pro soon (still barely in 30 day trial) but definitely will if I can figure this out. Does anyone have suggestions for how to accomplish this? Thanks!