topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 9:44 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: sync single files HD <-> USB stick  (Read 9589 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
DONE: sync single files HD <-> USB stick
« on: December 23, 2005, 04:33 PM »
Hi,

I'd like a simple script that would check x minutes if volume "USB" exists at H: and if so, would copy a file from the HD to a folder on the USB stick. This would be perfect to automatically copy the current version of AutoHotkey.ini to the USB stick.

If you, skrommel, or others have some ideas, I would be delighted :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: sync single files HD <-> USB stick
« Reply #1 on: December 23, 2005, 07:21 PM »
there are lots of "directory watching" tools that do stuff like this..  can't remember the names but if you search for "watch directories" + freeware i'll bet you find some.  let us know what you come up with.

alecjw

  • Participant
  • Joined in 2005
  • *
  • Posts: 42
    • View Profile
    • Donate to Member
Re: IDEA: sync single files HD <-> USB stick
« Reply #2 on: December 24, 2005, 02:54 PM »
Sometimes with pen drives, I find that the drive letter changes each time you plug it in. Maybe if you programmed someting which could find the right drive by searching its contents rather than going to a specific drive letter... (rest left to your imagination...)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: sync single files HD <-> USB stick
« Reply #3 on: December 24, 2005, 03:56 PM »
Thanks at you both for the ideas. I tried to find Google to find one, but was not successful - yet. Also, I'd prefer to use AHK for that because AHK is always running already, I wouldn't add yet another program to AutoStart :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: sync single files HD <-> USB stick
« Reply #4 on: December 24, 2005, 06:41 PM »
good idea wrt changing drive letters - i think searching for the file/dir at a certain location on each drive makes a lot of sense.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: IDEA: sync single files HD <-> USB stick
« Reply #5 on: January 02, 2006, 01:54 PM »
I made it! :D

I'm not checking if drive letters changed (yet?), just checking if the destination path exists on the USB drive (using the letter it always gets on my PC so far).

It checks for the existence of that destination path every x minutes and updates the file I want to have updated there.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: DONE: sync single files HD <-> USB stick
« Reply #6 on: April 20, 2007, 04:21 AM »
I made it! :D

I'm not checking if drive letters changed (yet?), just checking if the destination path exists on the USB drive (using the letter it always gets on my PC so far).

It checks for the existence of that destination path every x minutes and updates the file I want to have updated there.

I'm looking for something similar. Care to post your AHK code, brotherS?