983
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 4 weeks 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 4 weeks ago

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

[-] YellowTraveller@lemmy.zip 2 points 4 weeks ago

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

[-] ulterno@programming.dev 0 points 4 weeks ago

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

[-] kamen@lemmy.world 3 points 4 weeks ago

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

[-] ulterno@programming.dev 0 points 4 weeks ago

Yeah, just need to set it up correctly.

this post was submitted on 22 Sep 2025
983 points (98.7% liked)

Programmer Humor

26980 readers
2837 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