Is it possible to merge the 7 files into ONE where all the "duplicated"
names are merged into one.
Sure.
do shell script "sort -u " & (quoted form of POSIX path of file1) & "
" & (quoted form of POSIX path of file2) & " " & ... & " " & (quoted
form of POSIX path of file7) & ">" & (quoted form of POSIX path of
resultFile)
if you have the filenames in a list you can of course build the
command string up with a loop, which would be less unwieldy (more
wieldy?). If you really want 'all the files in this folder' then that
would be a better way to approach it, too. The important thing is
that you wind up with a shell command that consists of "sort -u "
followed by the quoted POSIX paths of all the files, separated by
spaces, followed by ">" and the quoted POSIX path of the file you want
the sorted uniquified results to go into.