zlacker

[parent] [thread] 14 comments
1. Freaky+(OP)[view] [source] 2013-06-26 03:52:45
I never understood why this hasn't been modernized. The three-letter nearly-meaningless directory names seem so obsolete.
replies(4): >>traffi+9 >>e3pi+l1 >>quacke+q2 >>vacri+44
2. traffi+9[view] [source] 2013-06-26 03:55:21
>>Freaky+(OP)
They are easy to type and do have meaning in and of themselves.
replies(1): >>eru+Ad
3. e3pi+l1[view] [source] 2013-06-26 04:21:41
>>Freaky+(OP)
I gather you're also not versed in the unix command line? Piping and redirecting long dir paths thru commands and arguments welcomes everything abbreviated. The mnemonics is just engineered happiness sugar-on-top of all the intrinsic greatness.
4. quacke+q2[view] [source] 2013-06-26 04:40:42
>>Freaky+(OP)
Unless your ssh'd into a machine, it's annoying to type long dir's. What's worse is compensating for spaces in filenames.
replies(2): >>freewo+B2 >>J_Darn+Jq
◧◩
5. freewo+B2[view] [source] [discussion] 2013-06-26 04:45:28
>>quacke+q2
Thats what tab completion is for.
replies(1): >>quacke+b3
◧◩◪
6. quacke+b3[view] [source] [discussion] 2013-06-26 05:01:38
>>freewo+B2
Thank you freework, didn't know about that one (embarrassing as it is to admit).

Still sucks dealing with spaces when it comes to command processes like ffmpeg -i <no_tab>...but awesome for cd'ing or ls'ing!

replies(1): >>kanema+S3
◧◩◪◨
7. kanema+S3[view] [source] [discussion] 2013-06-26 05:15:18
>>quacke+b3
Just prefix the space with a backslash. Eg: ``$ ls /foo/bar/my\ directory/``. With that backslash in place, you can continue your tab-completion.
replies(1): >>iSnow+h5
8. vacri+44[view] [source] 2013-06-26 05:19:17
>>Freaky+(OP)
Long path names are an annoyance everywhere, from the commandline to the file browser. Use long names where appropriate ('aunt sally photos 2011' is better than 'asp11'), but for the dozen things in the root directory, there's not much effort involved.
◧◩◪◨⬒
9. iSnow+h5[view] [source] [discussion] 2013-06-26 05:55:40
>>kanema+S3
Still, on some international keyboards, backspace is hard to reach, eg. on a German Mac keyboard, is it <alt><shift>7.

So don't put spaces in path names, it's a bitch to work with.

replies(1): >>emillo+H9
◧◩◪◨⬒⬓
10. emillo+H9[view] [source] [discussion] 2013-06-26 07:46:35
>>iSnow+h5
You can quote the space:

    mkdir x\ y
    cd x' 'y
(or the entire part: cd 'x y')
replies(1): >>quacke+Xa
◧◩◪◨⬒⬓⬔
11. quacke+Xa[view] [source] [discussion] 2013-06-26 08:17:18
>>emillo+H9
Yup, that's what I do too, or %20 if its a url
◧◩
12. eru+Ad[view] [source] [discussion] 2013-06-26 09:14:04
>>traffi+9
> [...] have meaning in and of themselves.

Mostly because of long usage.

◧◩
13. J_Darn+Jq[view] [source] [discussion] 2013-06-26 13:14:12
>>quacke+q2
Unix/Linux/whatever should have just forbidden spaces in filenames in the first place since none of the basic tools make it easy iterate over a list of filenames with spaces correctly.
replies(1): >>gizmo6+hJ
◧◩◪
14. gizmo6+hJ[view] [source] [discussion] 2013-06-26 16:05:30
>>J_Darn+Jq
At least UNIX doesn't have a space in the path of the main programs directory (I'm looking at you Windows).

Also, many of the basic tools have a -0 option which uses the null character to replace many uses of space. Still far from an adequate solution though.

replies(1): >>quacke+RK
◧◩◪◨
15. quacke+RK[view] [source] [discussion] 2013-06-26 16:23:53
>>gizmo6+hJ
Ohh yeah! This is where my initial frustrations have always been for spaces...mounting an NTFS-3G or URL encodings.
[go to top]