I am using Ubuntu server 20.04 for OwnCloud and backups of multiple networked computers. I know I have many duplicate files on the server and would like to have one database of all files so I can quickly decide those to keep or delete.
I was thinking of using find and then loading them into mysql along with path,date, and size info. I'm looking for an easy way to load the data and am pretty familiar with SQL from there.
find
printing paths, sizes and modification dates of files, you cad tryfind -type f -printf "%p %k %Ts\n"
... see the (-printf format) part in man find – Raffa Jan 04 '23 at 04:32