this post was submitted on 03 May 2025
1 points (100.0% liked)

Linux

3260 readers
4 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
 

Good morning everyone!

I just had a question on how to go about the age-old problem of having files created on a unix-like system (Linux, Mac etc.) that need to be shared with a Windows machine. Specifically, some files in my e-book and manga library have “?” and “:” in their titles (and possibly some other reserved characters). Sadly, Syncthing (my file syncing solution of choice) has no solution for this and just creates an error on the Windows machine where my e-book library is shared.

What is an easy, semi-automatic solution for renaming files to allow portability between operating systems? Ideally I would like to create a shell script that I can just run on a folder that will recursively descend through the directory structure.

Thank you in advance :)

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here