Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
See if the command line utility “detox” removes it. I use it in a bash file that tidies everything up for me before I do my daily backup.
Go to the directory you want to clean up and type:
detox *
If you don't want to clean up everything, you can limit it. For example, if I only want to clean up PDF files, I'd do:
detox *.pdf
Detox replaces all the ugly characters with underscores. I personally hate underscores for most everything and use dashes instead. So after detox runs I also run:
rename ‘y/_/-/’ *
Then, because I want every file named only with lowercase letters, I also run:
rename ‘y/A-Z/a-z/’ *
(edit to remove duplicate info)