Michael wrote:
> 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. 
>


I saw that but never understood what it did.  I thought it was something
that worked just with revdep-rebuild or something.  So it is a bash
thing.  Interesting.  That could open a can of worms. 

By the way, for giggles, I had a directory with several files with those
weird characters so I tried Krename.  I highlighted the files, opened
with Krename, no files detected.  For some reason, likely the same as
Frank's checksum tool, it can't process those files with weird
characters.  Could be a bug or just no way around it.  I'm not sure
Frank has found a workaround for his script yet either. 

I did add your command line methods to my cheat sheet tho.  Now if only
I can remember what I added them as so I can find it later.  o_O 

Dale

:-)  :-) 

Reply via email to