From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 15:34:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 331091065673 for ; Thu, 7 Aug 2008 15:34:31 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from lmailproxy01.edpnet.net (lmailproxy01.edpnet.net [212.71.1.194]) by mx1.freebsd.org (Postfix) with ESMTP id A34718FC16 for ; Thu, 7 Aug 2008 15:34:30 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from beni.lan (213.219.140.25.adsl.dyn.edpnet.net [213.219.140.25]) by lmailproxy01.edpnet.net (8.13.1/8.13.1) with ESMTP id m77FYSiE029451 for ; Thu, 7 Aug 2008 17:34:28 +0200 From: beni To: freebsd-questions@freebsd.org Date: Thu, 7 Aug 2008 15:34:28 +0000 User-Agent: KMail/1.9.7 X-Face: $,~&QrDrInYiH(ZUXjNH_0r4q\`w83!}&; +8c.K[`NnZwV|m$5N{NCkWesaR.9|yqIC[<=?utf-8?q?d=0A=09P0?="xTw:F|)_r*WC\f8lz)g=a; 93dz2mP7iv)LLzBd; 6^Y:=*>@U; _\+4( MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808071534.29383.beni@brinckman.info> X-Virus-Scanned: ClamAV 0.93/7040/Tue May 6 03:52:15 2008 on lmailproxy01.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,FORGED_RCVD_HELO autolearn=disabled version=3.1.9 X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lmailproxy01.edpnet.net Subject: joining 2 files together ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beni@brinckman.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 15:34:31 -0000 Hi, I am trying to find the equivalent for the old dos "copy file1+file2" command ("copy myfile1.txt+myfile2.txt" copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd "cp" doesn't seem to want the "+" between the two files : bsdaddict# cp file1.avi+file2.avi usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... target_directory bsdaddict# So how to I append file2 at the end of file1 to get only one file ? To be more specific : I would like to merge 2 avi files into one. How do I get file1.avi+file2.avi into file3.avi ? Thanks. -- Beni.