I'm searching a tool or a shell script or another program to synchronize two or more folders or disks.
But it differs of rsync tool, because, I don't want to duplicate the missing file, but do a symbolic link of it in the other folder, for example:
If in folder A we have the files a and b and other folder c with a file d:
And in folder B we have the file 1 and a folder 2 with a file 3:
I would like program, for example, ssync (symbolic synchronize, just a invention name), called by a command, for example, ssync /A /B to change these folders like showed below:
1 (ln -s)
2 (ln -s)
3 (ln -s)
a (ln -s)
b (ln -s)
c (ln -s)
d (ln -s)
where ln -s indicates that in this folder was created a symbolic link to this corresponding file, for example, a (ln -s) indicates the command ln -s /A/a /B/a was used.
I will appreciate so much if someone help me. Thanks.