From owner-freebsd-questions@FreeBSD.ORG Fri Aug 20 17:46:02 2010 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 48DC91065679 for ; Fri, 20 Aug 2010 17:46:02 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 02E518FC18 for ; Fri, 20 Aug 2010 17:46:01 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=GErw3X8Lcf3Z9lMGtD9UKGVOjv9oy6ZCQt0FNm8Yy60= c=1 sm=0 a=nBKznY6ybbgA:10 a=kj9zAlcOel0A:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:17 a=9JRowtiZe4gSJgIsCgsA:9 a=KFpNOGn4wEre7IcWrBeZ2XKXHaYA:4 a=CjuIK1q_8ugA:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.49.189.17 Received: from [67.49.189.17] ([67.49.189.17:28454] helo=localhost.hawaii.res.rr.com) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id DD/B8-06787-85FBE6C4; Fri, 20 Aug 2010 17:46:01 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id D8BA25C94 for ; Fri, 20 Aug 2010 07:49:58 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o7KHnwbd005722 for freebsd-questions@freebsd.org; Fri, 20 Aug 2010 07:49:58 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Fri, 20 Aug 2010 07:49:58 -1000 From: Parv To: FreeBSD Message-ID: <20100820174958.GB5538@holstein.holy.cow> Mail-Followup-To: FreeBSD References: <4C6EA6B6.6090307@comcast.net> <4C6EA802.9010105@gmail.com> <4C6EAD63.5040609@comcast.net> <20100820164939.GB50581@guilt.hydra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100820164939.GB50581@guilt.hydra> Subject: Re: Can't remove or move file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 17:46:02 -0000 in message <20100820164939.GB50581@guilt.hydra>, wrote Chad Perrin thusly... > ... > > On 08/20/10 09:06, Mark Tinguely wrote: > > > > > >For many commands, the "--" stops the argument processing: > > > > > > rm -- -elDeJaPWGg.flv ... > There are a couple more ways to get around this. One requires planning > ahead, the other requires less typing (if you hand-typed the filename). > > If you want to plan ahead, you can use the -o option with youtube-dl: > > youtube-dl -o output_filename.flv 'url_for_youtube_video' > > This sets the name of the file that will appear on your computer to > "output_filename.flv", so you control what the file is called. ... On a similar & more flexible note, using --title option will make youtube-dl to use title for the file name. This option has given me back lost sanity when trying to find the right file after fetching more than one. - parv --