Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Micro_Voidster

Is there a way to tie files together in windows?

Recommended Posts

Posted · Original PosterOP

What I'm looking to do is to Have a single Notepad file on my desktop where I locally update it frequently. Is there a way to have that file update the other files on 2 other drives on my PC. These drives are always connected and I'd like to have them update automatically instead of me having to manually do it every week or so. 

 

I've heard this was a thing with very thorough server solutions, just curious if its possible with Windows, MacOS, Linux, or just at all I suppose. 
Thanks

Link to post
Share on other sites

So you just want to copy a file to 2 separate drives automatically when any update is done?


QUOTE ME IN A REPLY SO I CAN SEE THE NOTIFICATION!

When there is no danger of failure there is no pleasure in success.

Link to post
Share on other sites

I think OneDrive can do this but I'm not familiar with its availability on non-MS OSes. You might have to do a little work, for example, set up a synced area, and use a shortcut on your desktop to that instead. Other solutions like Google Drive might also work similarly but I haven't tried using it in that way. I only know OneDrive does it as we have to use it at work.


Main rig: Asus Maximus VIII Hero, i7-6700k stock, Noctua D14, G.Skill Ripjaws V 3200 2x8GB, Gigabyte GTX 1650, Corsair HX750i, In Win 303 NVIDIA, Samsung SM951 512GB, WD Blue 1TB, HP LP2475W 1200p wide gamut

Gaming system: Asrock Z370 Pro4, i7-8086k stock, Noctua D15, Corsair Vengeance LPX RGB 3000 2x8GB, Gigabyte RTX 2070, Fractal Edison 550W PSU, Corsair 600C, Optane 900p 280GB, Crucial MX200 1TB, Sandisk 960GB, Acer Predator XB241YU 1440p 144Hz G-sync

Ryzen rig: Asrock B450 ITX, R5 3600, Noctua D9L, G.SKill TridentZ 3000C14 2x8GB, Gigabyte RTX 2070, Corsair CX450M, NZXT Manta, WD Green 240GB SSD, LG OLED55B9PLA

VR rig: Asus Z170I Pro Gaming, i7-6700T stock, Scythe Kozuti, Kingston Hyper-X 2666 2x8GB, Zotac 1070 FE, Corsair CX450M, Silverstone SG13, Samsung PM951 256GB, Crucial BX500 1TB, HTC Vive

Gaming laptop: Asus FX503VD, i5-7300HQ, 2x8GB DDR4, GTX 1050, Sandisk 256GB + 480GB SSD

Total CPU heating: i7-8086k, i3-8350k, i7-7920X, 2x i7-6700k, i7-6700T, i5-6600k, i3-6100, i7-5930k, i7-5820k, i7-5775C, i5-5675C, 2x i7-4590, i5-4570S, 2x i3-4150T, E5-2683v3, 2x E5-2650, E5-2667, R7 3700X, R5 3600, R5 2600, R7 1700

Link to post
Share on other sites

Schedule task that copies the file over would be simple and quick to implement ... no need for 3rd party applications or complicated stuff.


If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Guide to run any software as Admin

NiceHash Mining Guide

Ethereum Mining Guide

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 240GB Avexir E100 Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
5 hours ago, Micro_Voidster said:

What I'm looking to do is to Have a single Notepad file on my desktop where I locally update it frequently. Is there a way to have that file update the other files on 2 other drives on my PC. These drives are always connected and I'd like to have them update automatically instead of me having to manually do it every week or so. 

 

I've heard this was a thing with very thorough server solutions, just curious if its possible with Windows, MacOS, Linux, or just at all I suppose. 
Thanks

You can create "junction" (aka symlink in *nix-land) so that one file IS the other file, but generally if you want one to be a backup of the other you need to create a scheduled process, figure which one is newer and copy the newer one over the older one. (or in some ways you can just go "if file A newer than B, overwrite B with A. If file B newer than A, over write B with A, do not copy if the same"

 

The other option is creating something like onedrive/dropbox/googledrive and have them on each drive. But then you're relying on a cloud service. 

 

Like it's possible to do a few different ways. On Linux/MacOS you'd just rsync the file on a cron job. On windows you can do the same with Robocopy. Just FYI, there is still an implicit One-way ness to rsync or robocopy, in that if you don't tell it to only copy a newer file, it can overwrite a newer file with an older one.

 

https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx

Link to post
Share on other sites

Not sure that this is what you're looking for but FWIW, I use a program called DSynchronize. It's ancient (early 2000s?), but it's super simple and just works. It may do what you want. It does have a scheduled sync function, although I prefer to do it manually.

 

I've been using it for years to sync my storage drives and I love it.

 

Capture.thumb.PNG.7fbb42c98eb2e93183efb394e76f4666.PNG

Link to post
Share on other sites
16 hours ago, BecauseICanTBH said:

I've been using it for years to sync my storage drives and I love it.

I used it once and can confirm it works.

Also, Syncthing exists, it synchronises files/folders between machines, Windows, Mac, Linux, Android, you name it. it's not needed here because

Quote

These drives are always connected

but if OP would want to synchronise between different machines which are connected to the Internet ho could use it, it's also a way to have a copy of your important files, ask a friend to share his disk with you and vice versa, the limit is your disks and network(plus you'd have to hide the contents probably)

Link to post
Share on other sites
Posted · Original PosterOP
On 2/20/2020 at 9:51 AM, Kisai said:

You can create "junction" (aka symlink in *nix-land) so that one file IS the other file, but generally if you want one to be a backup of the other you need to create a scheduled process, figure which one is newer and copy the newer one over the older one. (or in some ways you can just go "if file A newer than B, overwrite B with A. If file B newer than A, over write B with A, do not copy if the same"

 

The other option is creating something like onedrive/dropbox/googledrive and have them on each drive. But then you're relying on a cloud service. 

 

Like it's possible to do a few different ways. On Linux/MacOS you'd just rsync the file on a cron job. On windows you can do the same with Robocopy. Just FYI, there is still an implicit One-way ness to rsync or robocopy, in that if you don't tell it to only copy a newer file, it can overwrite a newer file with an older one.

 

https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx

Ideally the robocopy thing would be ideal. Since its a direct windows feature, could u explain how to do it a bit more. The article u gave is PRETTY HEAVY and not simple at all. 

Also I'm now realizing there might be a risk of losing the master file along with the older slave files. Is there a way to have a redundant copy of each so in essence I would the 3 main ones and then a copy of each somewhere that gets updated at the same time. 

Or is this tool safe and rarely ever corrupts files or just shits itself and doesn't do what its told??

 

Link to post
Share on other sites
Posted · Original PosterOP
On 2/20/2020 at 10:50 AM, BecauseICanTBH said:

Not sure that this is what you're looking for but FWIW, I use a program called DSynchronize. It's ancient (early 2000s?), but it's super simple and just works. It may do what you want. It does have a scheduled sync function, although I prefer to do it manually.

 

I've been using it for years to sync my storage drives and I love it.

 

 

It sounds perfect but I would really like a stock windows feature if possible will update post sorry bout that. But if I can't figure out the Robocopy method Kisai mentioned I might have to go with that. 

Just wish there was something that u could set and it would run when its updated and thats it no fiddling with commands after u set it up. :((

Link to post
Share on other sites
3 hours ago, Micro_Voidster said:

It sounds perfect but I would really like a stock windows feature if possible will update post sorry bout that. But if I can't figure out the Robocopy method Kisai mentioned I might have to go with that. 

Just wish there was something that u could set and it would run when its updated and thats it no fiddling with commands after u set it up. :((

Just check "Realtime sync", it'll run in the background and sync every time something updates.

Link to post
Share on other sites
5 hours ago, Micro_Voidster said:

Ideally the robocopy thing would be ideal. Since its a direct windows feature, could u explain how to do it a bit more. The article u gave is PRETTY HEAVY and not simple at all. 

Also I'm now realizing there might be a risk of losing the master file along with the older slave files. Is there a way to have a redundant copy of each so in essence I would the 3 main ones and then a copy of each somewhere that gets updated at the same time. 

Or is this tool safe and rarely ever corrupts files or just shits itself and doesn't do what its told??

 

Robocopy basically a threaded xcopy and rsync-like copy tool.

 

At the basics, you just have robocopy (source) (target) /MIR /xjd , but MIR can completely bork your target since it will also delete things. This is why you have to make sure that your drive letters are always correct before you start.

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×