this post was submitted on 12 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

521 readers
6 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

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

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 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.