squidsarefriends@feddit.de to Asklemmy@lemmy.ml · edit-22 年前Is it still necessary to use _ while naming files?message-squaremessage-square45fedilinkarrow-up188arrow-down14file-text
arrow-up184arrow-down1message-squareIs it still necessary to use _ while naming files?squidsarefriends@feddit.de to Asklemmy@lemmy.ml · edit-22 年前message-square45fedilinkfile-text
minus-squareCetaceanNeeded@lemmus.orglinkfedilinkEnglisharrow-up25arrow-down2·2 年前WelcomeToCamelCaseMyFriend.png
minus-squareElderWendigo@sh.itjust.workslinkfedilinkarrow-up22arrow-down1·2 年前ThatIsPascalCase thisIsCamelCase
minus-squareMichal@discuss.tchncs.delinkfedilinkarrow-up10·2 年前But then you have to press shift if you want to use the file in Linux terminal…
minus-squarejrubal1462@mander.xyzlinkfedilinkarrow-up4·2 年前…But at least it saves you from having to use quotes or escaping out the spaces with \
minus-squareMichal@discuss.tchncs.delinkfedilinkarrow-up3·2 年前I’d rather use snake_case for file names in Linux that way you don’t have to press shift until the end of the first word, and byt that time you probably have enough characters for tab completion.
minus-squareRickyRigatoni@lemmy.mllinkfedilinkarrow-up1arrow-down1·2 年前or pressing capslock before and after each uppercase, if you’re one of those people
WelcomeToCamelCaseMyFriend.png
ThatIsPascalCase thisIsCamelCase
But then you have to press shift if you want to use the file in Linux terminal…
…But at least it saves you from having to use quotes or escaping out the spaces with \
I’d rather use snake_case for file names in Linux that way you don’t have to press shift until the end of the first word, and byt that time you probably have enough characters for tab completion.
Or make your shell be case-insensitive
or pressing capslock before and after each uppercase, if you’re one of those people