[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm difficult filename



Once upon a time Antonio Rodriguez said...
> When capturing a file from an url with the command
> mplayer -dumpstream -dumpfile archive.rm -playlist url
> and other variants, by misplacing the option -rtsp-stream-over-tcp a
> file was created with this name, i.e.,
> -rtsp-stream-over-tcp is the filename.

Two common ways:

rm -- -rtsp-stream-over-tcp

or

rm ./-rtsp-stream-over-tcp


In the first case, the -- tells rm to stop processing options, in the
second case you're finding a way to refer to the same file in such a way
that it does not start with -.




Reply to: