Appending rather than overwriting files when moving
        Posted  
        
            by ukas1
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ukas1
        
        
        
        Published on 2010-03-27T13:17:24Z
        Indexed on 
            2010/03/27
            13:23 UTC
        
        
        Read the original article
        Hit count: 238
        
I have the following directory structure:
+-archive
  +-a
    +-data.txt
  +-b
    +-data.txt 
+-incoming
  +-a
    +-data.txt
  +-c
    +-data.txt
How do I do the equivalent of mv incoming/* archive/ but have the contents of the files in incoming appended to those in archive rather than overwrite them?
© Stack Overflow or respective owner