Article 5JSZ0 [SOLVED] merge 2 directories without deleting or overwriting files with same name

[SOLVED] merge 2 directories without deleting or overwriting files with same name

by
lleb
from LinuxQuestions.org on (#5JSZ0)
Normally I would just rysnc the data around, but i have a bunch of files from school that are on my laptop and my workstation. I'd like to merge the files, many with the same name, but not the same file. they are named by class & date.

example:

/path/to/class/call.08.06.2021.pdf

Ill have that file on both systems, but they may not be a true duplicate file. rsync will treat them as the same file and use the newer file and overwrite, potentially losing data, the older of the two files.

After I have everything merged into a single location, I will spend the man hours manually removing duplicate files.

I do not want to lose the data from either end.

Thank youlatest?d=yIl2AUoC8zA latest?i=pv6f0l5r46A:92vHvcyQp6s:F7zBnMy latest?i=pv6f0l5r46A:92vHvcyQp6s:V_sGLiP latest?d=qj6IDK7rITs latest?i=pv6f0l5r46A:92vHvcyQp6s:gIN9vFwpv6f0l5r46A
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments