From owner-freebsd-questions Sat May 12 3:54:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp07.iafrica.com (smtp07.iafrica.com [196.2.51.6]) by hub.freebsd.org (Postfix) with ESMTP id 6C9BF37B423 for ; Sat, 12 May 2001 03:54:46 -0700 (PDT) (envelope-from ffkrz@iafrica.com) Received: from iafrica.com ([196.30.180.132]) by smtp07.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GD700J2LYBTB1@smtp07.iafrica.com> for questions@FreeBSD.ORG; Sat, 12 May 2001 12:55:06 +0200 (SAT) Date: Sat, 12 May 2001 12:54:55 +0200 From: Francois Kritzinger Subject: Re: COPY, CUT, PASTE (FILES) To: Dan Nelson Cc: freeBSD Mailing List Message-id: <3AFD167F.7480F4C6@iafrica.com> MIME-version: 1.0 X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <3AFCE758.63DE32E1@iafrica.com> <20010512023703.A24989@dan.emsphone.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > In the last episode (May 12), Francois Kritzinger said: > > Is there a way to copy, cut and then paste files from the shell? > > E.g. "cut *.txt" and then "cd other_directory" and then "paste"... > > You mean besides the all-in-one command "cp"? > > cp *.txt other_directory > > -- > Dan Nelson > dnelson@emsphone.com No, for that you need to know exactly where you want to put the files. In this case you know that you want to copy or move the files somewhere, you just dont know exactly where yet. Like in a file manager - when you right click a file, you can select "copy" or "cut" (the files' paths get written to a "clipboard") and then browse around till you find the dir you want to put the files. Then when you find the dir in which you want to put the files, you simply type (for example) "paste", and the files get copied or moved into the current dir. Like a file manager. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message