965
I_fucking_hate_them_now (media.piefed.world)
you are viewing a single comment's thread
view the rest of the comments
[-] cupcakezealot@piefed.blahaj.zone 21 points 6 days ago

the struggle between spaces in filenames look cute and oh fuck what's the code to reference a space in a filename in terminal?

[-] kamen@lemmy.world 10 points 5 days ago

Just put the whole thing in quotes. You might have to escape extra sets of quotes, usually with a backslash.

[-] YellowTraveller@lemmy.zip 3 points 5 days ago

Or you can also put a \ in front of the space

[-] ulterno@programming.dev 0 points 5 days ago

If you intend on using that with tab completions, you will have extra work to do.

[-] kamen@lemmy.world 3 points 5 days ago

Some shells put the path in quotes automatically as you attempt to complete anything with spaces in it.

[-] ulterno@programming.dev 0 points 5 days ago

Yeah, just need to set it up correctly.

this post was submitted on 22 Sep 2025
965 points (98.9% liked)

Programmer Humor

26593 readers
3727 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS