in reply to Re^3: read files one by one in directory and redirct output to a file
in thread read files one by one in directory and redirct output to a file

cat is the abbreviation for 'concatenate' and will do binary files just fine. cp will complain if it's instructed to copy multiple source files and the target is not a directory. Windows 'copy' is different from both.
  • Comment on Re^4: read files one by one in directory and redirct output to a file

Replies are listed 'Best First'.
Re^5: read files one by one in directory and redirct output to a file
by Marshall (Canon) on Jul 08, 2018 at 08:17 UTC
    Well I guess..
    cp [option]... [-T] source destination
    Where -T means: Treat destination as a normal file. I don't work much with Unix nowadays.