cm0002@piefed.world to Programmer Humor@programming.devEnglish · 1 day agoI_fucking_hate_them_nowmedia.piefed.worldimagemessage-square119fedilinkarrow-up1892arrow-down17
arrow-up1885arrow-down1imageI_fucking_hate_them_nowmedia.piefed.worldcm0002@piefed.world to Programmer Humor@programming.devEnglish · 1 day agomessage-square119fedilink
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up20·1 day 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·21 hours agoJust put the whole thing in quotes. You might have to escape extra sets of quotes, usually with a backslash.
minus-squareYellowTraveller@lemmy.ziplinkfedilinkarrow-up2·17 hours agoOr you can also put a \ in front of the space
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·14 hours agoIf you intend on using that with tab completions, you will have extra work to do.
minus-squarekamen@lemmy.worldlinkfedilinkarrow-up2·14 hours agoSome shells put the path in quotes automatically as you attempt to complete anything with spaces in it.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·14 hours agoYeah, just need to set it up correctly.
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.
Or you can also put a
\
in front of the spaceIf 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.