cm0002@piefed.world to Programmer Humor@programming.devEnglish · 24 hours agoI_fucking_hate_them_nowmedia.piefed.worldimagemessage-square104fedilinkarrow-up1836arrow-down16
arrow-up1830arrow-down1imageI_fucking_hate_them_nowmedia.piefed.worldcm0002@piefed.world to Programmer Humor@programming.devEnglish · 24 hours agomessage-square104fedilink
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up20·19 hours agothe struggle between spaces in filenames look cute and oh fuck what’s the code to reference a space in a filename in terminal?
minus-squarekamen@lemmy.worldlinkfedilinkarrow-up9·11 hours agoJust put the whole thing in quotes. You might have to escape extra sets of quotes, usually with a backslash.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·3 hours agoIf you intend on using that with tab completions, you will have extra work to do.
minus-squarekamen@lemmy.worldlinkfedilinkarrow-up2·3 hours agoSome shells put the path in quotes automatically as you attempt to complete anything with spaces in it.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·3 hours agoYeah, just need to set it up correctly.
minus-squareYellowTraveller@lemmy.ziplinkfedilinkarrow-up2·6 hours agoOr you can also put a \ in front of the space
the struggle between spaces in filenames look cute and oh fuck what’s the code to reference a space in a filename in terminal?
Just put the whole thing in quotes. You might have to escape extra sets of quotes, usually with a backslash.
If you intend on using that with tab completions, you will have extra work to do.
Some shells put the path in quotes automatically as you attempt to complete anything with spaces in it.
Yeah, just need to set it up correctly.
Or you can also put a
\
in front of the space