4 comments

[ 2.9 ms ] story [ 21.8 ms ] thread
it feels like a good idea, right up until the point where you cd into a directory with 100s of files while you're using a slow vpn collection.
thats a good point, i wonder if theres a way to protect against that... maybe the script checks size first?
I think I'd get disciplined for 'hacking' if I even tried to add this at work.

mmm maybe ls could be piped into more to stop an infinite screen scroll..

what would be the reasoning for discipline? afaik this isn't doing anything wrong, besides the risk of bringing down a system when CDing into a huge dir... but then, you could do that anyway