Can't remove or move file

Parv parv at pair.com
Fri Aug 20 17:46:02 UTC 2010


in message <20100820164939.GB50581 at 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


-- 



More information about the freebsd-questions mailing list