Bravo79 Posted April 11, 2014 Report Share Posted April 11, 2014 Here is my scenario. I have a desktop computer (CompA) I have a 3TB HDD connected to Raspberry Pi ? I want to transfer files and folders , when they are placed in the shared folder , from CompA to the HDD connected to R-Pi.CompA(BTsync folder) --> R-Pi HDD(BTsync directory) I then want to free up space on CompA by deleting the files from the shared folder, as soon as the sync is complete. I don't want the files on the HDD connected to the R-Pi be deleted. What would be the best way to achieve this. is there a way to find out on the pi as to when a transfer session has completed and then , using a script move the files from the shared directory on the HDD to some other directory? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 14, 2014 Report Share Posted April 14, 2014 @Bravo79, You can use API (see "GetFolderPeers" command). When it shows upload and download values zero - it means it stays in sync with selected peer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.