I’m uploading files to samba and ls -l is showing corrupted names. Samba continues to work. How can I fix this?

The file names should be something like 11/10/13, 10/26/26 PM.jpeg but are instead showing as this:

https://i.imgur.com/XA8O1U6.jpg

  • SKBo@lu.skbo.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Forward slash in file names is the way to go if you want to make a mess in your filesystem. It may be allowed in windows (I don’t even know if that’s really the case), but it’s a path delimiter on Linux, so it’s probably replaced by another character that’s not printable in the console.

    I suggest you try renaming your files before sending them, with hyphens (-) for example, plus you can use a proper ISO8601 date and time representation that will allow you to have sorted files just by listing them in alphabetical order.