• Re: [gentoo-user] Renaming files with those pesky picture type characte

    From Wol@21:1/5 to Dale on Mon Nov 4 01:00:01 2024
    On 29/10/2024 15:18, Dale wrote:
    Some of the other characters I run into look like this.


    ����

    As I understand it, these are typically characters your display doesn't
    know how to display. Eg Unicode for which it doesn't have a glyph. Or
    (unlikely nowadays) 8-bit Latin characters when all you've got is 7-bit
    Ascii.

    Bear in mind as far as linux is concerned, a file name is a string of
    bytes ending in null, with a couple of forbidden characters eg "/". So
    if your shell or whatever doesn't know how to display the bytes, that's
    what it does.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew Lowe@21:1/5 to Dale on Fri Nov 1 11:30:01 2024
    On 10/29/24 11:18 PM, Dale wrote:
    Howdy,

    I downloaded some files.  I have a few that have some weird names.  Some have those picture type characters.  Some start with a dash, "-".  In
    [snip]

    Plenty of people have replied with good info. My 2c from when I came across this exact problem is "vidir" contained in "moreutils".

    Also, thumbs up for the tid-bit on "--" terminating the options string.

    Andrew

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Ostroff@21:1/5 to Andrew Lowe on Fri Nov 1 15:20:01 2024
    On 10/31/24 10:25 PM, Andrew Lowe wrote:
    On 10/29/24 11:18 PM, Dale wrote:
    Howdy,

    I downloaded some files.  I have a few that have some weird names.  Some >> have those picture type characters.  Some start with a dash, "-".  In
    [snip]

        Plenty of people have replied with good info. My 2c from when I
    came across this exact problem is "vidir" contained in "moreutils".

        Also, thumbs up for the tid-bit on "--" terminating the options string.

        Andrew

    To add another 2c, 'ls -b' should show escape sequences you should be
    able to use to type in the characters, so I'm curious what that would
    have showed.  I also still wonder what Dolphin did - Dale said it 
    failed, but not how.

    Jack

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)