1

I'm writing a program for my grandpa, who's not exactly tech savvy. I want to make it easy for him to always have the latest version of my program (which consists of one Python script, by the way). He can just download it from an email to his desktop, but I had to set the default download location and if it gets messed up he's out of luck.

I want to be able to have a folder on my computer with my script in it, and when I update the program, I want the changes/new program to appear on his desktop. It would be even better if it only works one way, in case he accidentally deletes it on his machine.

So all the files in my folder go on his desktop, but all the files on his desktop don't go into my folder. I don't believe GDrive or Dropbox (my first ideas) can do that.

I have Windows 8.1, and he has 7.

EDIT: I'm starting to get into GitHub. Is there a way to use GitHub to automatically update his local repository?

spelchekr
  • 133

5 Answers5

0

I know you said Dropbox is not what you're looking for, but I think it's the easiest solution without getting too complicated. There's plenty of ways to sync, but they're all going to require a little bit of hand holding, and most of them will need special permissions.

If you're worried about him deleting files, I would do the following:

  1. Set up a dropbox folder on the computer... somewhere he won't go fiddling with it.
  2. Set up a scheduled task to robocopy /E (so copy, not delete) the dropbox contents to the desktop. You can configure the timing as you'd like.
  3. You could also add a key to Run so that even if he somehow deletes the scheduled task, you can just tell your Grandfather to reboot his computer, and have the task execute and readd itself to scheduled tasks.
0

Out of my mind I'd use

  1. Bittorent Sync to share a folder that he cannot update - or any other file sharing solution which limits shared folder permissions
  2. An approach similar to what was done a while ago with Dropbox + AutoHotKey remote automation
0

If you mark one of the folders in your dropbox as shared, read-only with his DB account and put the files in it, it should be synchronised fine with him and he can run the application from that location as long as your script does not try to write to its own folders (write to %temp% or somewhere similar). He will not be able to delete anything, the worst he could do would be to unlink the shared folder which is easily fixed.

Dropbox is perfect for this.

UPDATE: You can easily sign him up for an account and configure his PC for him. Use Teamviewer or similar to remote to his PC if needed.

Yes, you can drop a link onto his desktop. The most seamless way is to create a softlink from the shared dropbox folder (which will appear in his DB folders) to the desktop. But that either needs you to create it from the command prompt or another tool. You can also do this however with a simple .lnk Explorer link by right-dragging the shared folder to the desktop and selecting to create a link.

Julian Knight
  • 14,501
  • 3
  • 29
  • 44