Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 07:49:58 -1000
From:      Parv <parv@pair.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Can't remove or move file
Message-ID:  <20100820174958.GB5538@holstein.holy.cow>
In-Reply-To: <20100820164939.GB50581@guilt.hydra>
References:  <4C6EA6B6.6090307@comcast.net> <4C6EA802.9010105@gmail.com> <4C6EAD63.5040609@comcast.net> <20100820164939.GB50581@guilt.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
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


-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100820174958.GB5538>