This is probably something super basic but any help would be appreciated.
I am trying to cat a list of list ~ 203900 files into one but I get an error message of "argument list too long". I did tried to look some solutions in the web but I only found this for cp.
@AnaidG do you really need the list file or do you just want to copy the files?
With the option -n N you can tell xargs that it should use a maximum of N arguments at once. Or you can use -exec to copy (no list file needed):
According to the initial post the cp was found on the Web and has no problem (xargs is smart in finding the max args), but is no solution to the cat problem either.
Yes, but the output file itself should not be found. Name it not .txt or put it into a directory outside the start directory tree (e.g. > ../file.txt is outside).