3 ms·
Similarly, many people needlessly append a slash to every directory name.
by teddyh 1y ago
Similarly, many people needlessly append a slash to every directory name.
- BoredPositron 1y agoFor me it's because of rsync.
- chuckadams 1y agoIt's handy when the directory might not exist, happens all the time in git checkouts. Raise your hand if you've ever moved something to tmp and created a file called tmp. Usually it's tab-complete adding the slash though, I don't go typing it in.
- SoftTalker 1y agoMakes it clear you're naming a directory and not a file. I also alias 'ls' to 'ls -F' so that directories have a / appended, makes it easier to understand the output.