this has been a script, that I'd like to run as a command line now, anyway, it worked in a simpler way, but now the terminal complains about the delimiter to the command "cut" that should be a single character.
The aim is to join two files or archives, one with about 8 thousand files merging with a bigger one that contains about 26k files. To make sure that there are no duplicates, I tried many ways, kdfif, diff3, meld, flint, but this command line worked well until now. So is there anyone out there who could give me a hint? Thanks in advance.
find /home/someuser/thearchive1 -type f -exec sha256sum {} \; | sort -k 64 > /tmp/run.txt | cp -ur /home/someuser/thearchive1 /home/someuser/thearchive3 && cat -n /tmp/run.txt | cut " " -d -f1;
exit 0;