Auto-copying

Discuss and share scripts and script files...
Post Reply
TedL1972
Posts: 64
Joined: 15 Nov 2018 18:49

Auto-copying

Post by TedL1972 »

The hard drive on a server I normally work with will be replaced soon as it is old and it has issues. For this reason I copied all the data to another hard drive but this second one will be temporary until a bigger and more stable one is set up on a server.

Considering the above scenario, I will call the first drive X and the second one Y, I am looking at a simple script that would automatically copy any document created in X in the same mirror folder in Y. Perhaps there is a command already for this or a setting configuration but I could not find it.

In other words I am looking at a script that will same the time to go find Y and then the specific folder and then copy. So one action instead of 3 or 4. It is a sort of auto-back up on a mirror directory.

Any ideas?

RalphM
Posts: 2042
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Auto-copying

Post by RalphM »

Panes / Sync Folders will be your new friend, check out the help for it.
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

TedL1972
Posts: 64
Joined: 15 Nov 2018 18:49

Re: Auto-copying

Post by TedL1972 »

Thank you, that is a good tip and will partially work however I was looking at something that wouldn't require
to go in a specific folder but have the script find the folder and either copy the file or sync the folder. This is to
handle instances when I would forget to sync the folder due to speed or other reasons.

Post Reply