On Tuesday 29 October 2024 16:18:21 GMT Dale wrote:
> Michael wrote:

> > In a terminal running bash you can try:
> > 
> > mv ./-ne.avi newname.avi
> > 
> > or use a double dash to indicate end of options for the preceding command:
> > 
> > mv -- -ne.avi newname.avi
> > 
> > For a GUI-fied application, you can use 'kde-misc/krename'.
> 
> Now that is awesome.  The first one works great.  Haven't had the need
> to try others yet but figure they would work too.  Finally, I can rename
> these files with weird characters.  I never knew a -- meant end of
> options before.  Been using Linux for a couple decades and never saw
> that info. 

I've seen it in the man pages of revdep-rebuild, perl-cleaner, et al. and have 
been using it for a long time.  For example with revdep-rebuild I use it to 
pass additional options to the emerge command, which is called from within 
revdep-rebuild:

revdep-rebuild -v -- -a

This gives me a list and waits for my acknowledgement before it starts re-
emerging any packages. 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to