[{"data":1,"prerenderedAt":800},["ShallowReactive",2],{"project-15429390":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":50,"what":51,"said":81,"maker_in_thread":195,"shape":206,"grid":210,"attempts":757,"same_week":765,"maker_shows":35,"maker_hidden":792,"reader_version":793,"card":794},"15429390","fd","A simple, fast and user-friendly alternative to find, written in Rust","title","Show HN: A simple, fast and user-friendly alternative to find, written in Rust","https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Ffd","github.com","sharkdp",1507488550,2017,456,215,26,2242,2,"legend","dev_tools","file search cli","cli",[24,25,26,27,28],"find alternative","rust","file search","gitignore","command line","curious",0.013,{"positive":32,"neutral":33,"mixed":34,"critical":35},16,36,1,13,66,{"idea":38,"design":41,"privacy":42,"performance":44,"docs":45,"execution":46},{"positive":39,"critical":40},4,6,{"positive":40,"critical":39},{"positive":43,"critical":34},0,{"positive":39,"critical":34},{"positive":34,"critical":43},{"positive":43,"critical":34},[48,18,49,49,49,34,49,43,43,48,39,48,43,43,43,43,34,34,34,39,18,43,43,43,39,49,39,39,34,48,39,43,49,49,43,49,48,34,43,49],5,3,null,{"problem":50,"audience":50,"pricing":50,"motivation":52,"time_to_build":50,"stack":59,"openness":80,"stage":80,"team_size":80},{"value":53,"source":54,"evidence":55},"Wanted a user-friendly find alternative; chose Rust to match find's speed","maker",[56],{"id":57,"by":11,"text":58},"15429839","Thank you for the feedback. No, fd does not aim to be a drop-in replacement for find. It was actually designed as a \"user-friendly\" (I know, I know...) alternative to find for…",[60,67,76],{"value":61,"source":54,"evidence":62},"Rust",[63,66],{"id":64,"by":11,"text":65},"15431910","Thank you for the feedback. > So, I would suggest that you don't call this an alternative to find; it's not. A replacement for shell globs, sure. A replacement for poor file…",{"id":57,"by":11,"text":58},{"value":68,"source":54,"evidence":69},"ignore crate",[70,73],{"id":71,"by":11,"text":72},"15429563","Thank you for the feedback! Most of the credit for the speed goes to the amazing Rust modules 'ignore' and 'regex', which are also used by ripgrep…",{"id":74,"by":11,"text":75},"15429673","Yes. For simple searches, the main reason is that 'fd' walks the directory tree in a multithreaded fashion (thanks to the 'ignore' crate).",{"value":77,"source":54,"evidence":78},"regex crate",[79],{"id":71,"by":11,"text":72},"unknown",{"praise":82,"objections":104,"requests":129,"questions":142,"alternatives":161},[83,91],{"value":84,"source":85,"evidence":86},"Simple, sensible defaults that are easy to learn","commenter",[87],{"id":88,"by":89,"text":90},"15430062","fuzzygroup","Yes I'll agree with the people who say that this isn't a drop in replacement (fewer features and different syntax) but I also just don't care. fd's defaults are brilliantly…",{"value":92,"source":85,"evidence":93},"Very fast, faster than find and zsh globbing",[94,98,101],{"id":95,"by":96,"text":97},"15429509","benmarten","It is incredibly fast! Thanks a lot for this great tool!",{"id":99,"by":11,"text":100},"15429929","fd is about a factor of 2-3 faster (for this example): ``` > time fd -HIe jpg > \u002Fdev\u002Fnull 5,12s user 2,03s system 785% cpu 0,911 total > time ag --depth 100 -uuu -g '\\.jpg$' >…",{"id":102,"by":11,"text":103},"15430132","zsh globs are about a factor of 5 slower (for this example): ``` > time fd -sIe jpg > \u002Fdev\u002Fnull 1,24s user 0,77s system 758% cpu 0,265 total > time ls ~\u002F**\u002F*.jpg > \u002Fdev\u002Fnull…",[105,124],{"value":106,"source":85,"evidence":107},"Not a drop-in replacement for find; lacks -exec, -delete, -mtime",[108,112,116,120],{"id":109,"by":110,"text":111},"15430737","falcolas","I'm sorry to be something of a negative Nancy - and I'm sure I'm a corner case - but this is not really an alternative to find. It's an alternative for your editor's fuzzy find…",{"id":113,"by":114,"text":115},"15429497","josteink","My main usecase for find is not only finding files, but to do actions on them through -exec. Unless I’m missing something, that’s not supported with this tool.",{"id":117,"by":118,"text":119},"15429808","majewsky","It's strange to advertise this as a find(1) replacement when it covers maybe 1% of find(1) use cases. ``` find -type d -empty -delete find -type l -exec readlink -f {} + ``` etc.…",{"id":121,"by":122,"text":123},"15429751","wruza","Any plan to provide find compatibility for drop-in replacement? My find\u002Flocate usage patterns are not worth learning new sophisticated tool for 5sec speedup once a week, and I…",{"value":125,"source":85,"evidence":126},"Name and find-alternative framing overstates coverage",[127,128],{"id":109,"by":110,"text":111},{"id":117,"by":118,"text":119},[130,138],{"value":131,"source":85,"evidence":132},"Add -exec or file actions after finding",[133,134],{"id":113,"by":114,"text":115},{"id":135,"by":136,"text":137},"15432807","Dowwie","It's exciting to see so many problem solvers use Rust to improve core linux utilities. I've been using Exa as an 'ls' replacement for some time now. 'fd' looks promising but has…",{"value":139,"source":85,"evidence":140},"Add find compatibility",[141],{"id":121,"by":122,"text":123},[143,154],{"value":144,"source":85,"evidence":145},"How does speed compare to ag and find?",[146,150],{"id":147,"by":148,"text":149},"15429595","jnwatson","How does it compare in speed to 'ag' (i.e the silver searcher) -g option?",{"id":151,"by":152,"text":153},"15429597","tayo42","Why is this faster then find?",{"value":155,"source":85,"evidence":156},"Were benchmarks run with cold cache?",[157],{"id":158,"by":159,"text":160},"15429485","xfactor973","For the benchmarks did you clear the page cache inbetween runs? It’s crazy fast and seems a little suspect",[162,166,170,177,184,188],{"value":163,"source":85,"evidence":164},"find",[165],{"id":109,"by":110,"text":111},{"value":167,"source":85,"evidence":168},"ag (the silver searcher)",[169],{"id":147,"by":148,"text":149},{"value":171,"source":85,"evidence":172},"fzf",[173],{"id":174,"by":175,"text":176},"15429752","z1mm32m4n","I've found that fzf has replaced all uses of find for me except in scripts. fzf has the benefits of being bound to a single key binding and showing me results as I type, rather…",{"value":178,"source":85,"evidence":179},"zsh globbing",[180],{"id":181,"by":182,"text":183},"15429758","pmoriarty","I wonder how this compares to the speed of zsh's globbing, which is what I've mostly switched to using instead of find.",{"value":185,"source":85,"evidence":186},"FDclone",[187],{"id":109,"by":110,"text":111},{"value":189,"source":85,"evidence":190},"ripgrep",[191],{"id":192,"by":193,"text":194},"15429625","coldtea","It would be nice to have a collection of modern\u002Ffaster\u002Fsaner alternatives to common unix tools and such utilities (made in rust or not) that becomes standard -- or at least…",{"comments":196,"answered":197,"key":198},14,7,[199,202,203],{"id":200,"text":201},"15431880","> Another elitist aside: I can usually tell that I won't want to use a tool when it has a mac os install option first under the downloads section on its page. This is only…",{"id":64,"text":65},{"id":204,"text":205},"15430096","Thank you for the feedback, I'm glad you like it!",{"commenters":207,"max_depth":208,"maker_replies":196,"first_comment_mins":16,"lifespan_hours":209},127,10,284,[211,213,217,220,223,226,230,234,237,239,243,246,249,253,256,259,262,265,268,271,274,276,279,281,283,285,287,291,294,296,299,303,306,308,310,313,316,319,323,325,328,330,332,334,337,340,342,344,347,350,353,355,358,362,365,368,370,374,376,378,381,384,386,388,390,393,396,399,402,404,406,409,412,415,419,421,423,426,429,432,435,438,441,444,447,450,451,454,456,458,460,463,465,467,470,473,476,478,481,484,487,489,490,491,493,496,499,502,505,508,511,514,517,519,522,524,527,529,532,535,538,540,542,545,546,549,552,554,557,560,561,564,566,569,572,575,577,579,582,585,588,591,593,595,598,602,603,606,608,611,613,615,617,618,622,624,627,630,633,635,636,637,639,642,645,648,650,652,653,656,659,661,664,667,670,673,675,678,681,684,686,689,691,692,693,696,698,701,705,708,712,714,718,720,723,726,730,733,736,738,740,743,745,747,750,753],[192,43,48,212,193,43],"project\u002Fpositive\u002Fidea",[214,43,43,215,216,43],"15429817","other\u002Fneutral\u002Fnone","empath75",[218,43,43,215,219,43],"15429853","kuwze",[221,43,43,215,222,43],"15429869","nerdponx",[224,43,43,215,225,43],"15430149","StavrosK",[227,43,49,228,229,43],"15429897","project\u002Fneutral\u002Fnone","bm1362",[231,43,49,232,233,43],"15429915","project\u002Fneutral\u002Fidea","burntsushi",[235,43,43,215,236,43],"15430171","j2kun",[238,43,43,215,233,43],"15430177",[240,43,34,241,242,43],"15430774","project\u002Fcritical\u002Fidea","IgorPartola",[244,43,43,215,245,43],"15433625","marcosdumay",[247,43,43,215,248,43],"15448045","geezerjay",[250,43,34,251,252,43],"15430314","project\u002Fcritical\u002Fdesign","jorvi",[254,43,43,255,193,43],"15430467","commenter\u002Fneutral\u002Fdesign",[257,43,48,258,229,43],"15431076","project\u002Fpositive\u002Fdesign",[260,43,49,261,233,43],"15430643","project\u002Fneutral\u002Fdesign",[263,43,49,261,264,43],"15430746","yorwba",[266,43,49,267,233,43],"15430770","maker\u002Fneutral\u002Fdesign",[269,43,43,215,270,43],"15432481","SOLAR_FIELDS",[272,43,43,215,273,43],"15432692","thristian",[275,43,43,215,270,43],"15433430",[277,43,49,261,278,43],"15431534","nitrogen",[280,43,43,255,248,43],"15448031",[282,43,49,267,233,43],"15448800",[284,43,49,228,193,43],"15429951",[286,43,34,241,229,43],"15430090",[288,43,43,289,290,43],"15430114","commenter\u002Fneutral\u002Fnone","jhasse",[292,43,43,289,293,43],"15430226","giancarlostoro",[295,43,43,289,229,43],"15430234",[297,43,43,289,298,43],"15433617","Tyr42",[300,43,34,301,302,43],"15430404","project\u002Fcritical\u002Fprivacy","HankB99",[304,43,43,289,305,43],"15430541","dozzie",[307,43,43,289,193,43],"15430684",[309,43,43,289,229,43],"15431068",[311,43,48,258,312,43],"15431023","on_and_off",[314,43,43,215,315,43],"15431218","foo101",[317,43,43,318,122,43],"15431391","commenter\u002Fcritical\u002Fnone",[320,43,43,321,322,43],"15431887","commenter\u002Fcritical\u002Fprivacy","laumars",[324,43,43,318,193,43],"15432262",[326,43,43,321,327,43],"15437027","hnlmorg",[329,43,43,289,315,43],"15433337",[331,43,43,321,322,43],"15437805",[333,43,43,215,273,43],"15432702",[335,43,43,215,336,43],"15432803","zzzcpan",[338,43,43,215,339,43],"15433520","Sean1708",[341,43,43,215,245,43],"15433656",[343,43,43,215,245,43],"15433645",[345,43,43,215,346,43],"15431860","cstrahan",[348,43,48,212,349,43],"15429902","cies",[351,43,43,215,352,43],"15431400","stevekemp",[354,43,43,215,349,43],"15434043",[356,43,49,228,357,43],"15429997","trashcan",[359,43,48,360,361,43],"15433310","project\u002Fpositive\u002Fperformance","chrismorgan",[363,43,49,261,364,43],"15444097","petdance",[366,43,49,367,233,43],"15445593","maker\u002Fneutral\u002Fdocs",[369,43,43,255,364,43],"15455414",[371,43,48,372,373,43],"15446509","maker\u002Fpositive\u002Fnone","edibleEnergy",[375,43,43,289,364,43],"15455423",[377,43,48,258,361,43],"15447151",[379,43,48,380,364,43],"15455438","maker\u002Fpositive\u002Fdocs",[382,43,43,215,383,43],"15451647","kaushalmodi",[385,43,43,215,233,43],"15453433",[387,43,43,289,383,43],"15461779",[389,43,43,289,233,43],"15465110",[391,43,43,215,392,43],"15430015","nemild",[394,43,43,215,395,43],"15430302","jasonm23",[397,43,43,215,398,43],"15430181","sjmulder",[400,43,43,215,401,43],"15430335","baby",[403,43,43,215,193,43],"15430472",[405,43,43,215,401,43],"15430808",[407,43,43,215,408,43],"15431340","JelteF",[410,43,43,215,411,43],"15431396","slavik81",[413,43,43,215,414,43],"15430357","keenerd",[416,43,43,417,418,43],"15430615","other\u002Fneutral\u002Fidea","snorrah",[420,43,43,417,233,43],"15430722",[422,43,43,289,122,43],"15431432",[424,43,43,289,425,43],"15439068","traviscj",[427,43,43,417,428,43],"15431434","anonacct37",[430,43,43,215,431,43],"15432465","TeddyDD",[433,43,43,215,434,43],"15433919","Ezku",[436,43,43,215,437,43],"15432637","Manishearth",[439,43,43,215,440,43],"15432699","parmesan",[442,43,43,215,443,43],"15432862","zimpenfish",[445,43,43,215,446,43],"15440547","joshka",[448,43,43,215,449,43],"15435896","earenndil",[109,34,34,241,110,43],[452,34,34,251,453,43],"15430947","zeotroph",[455,34,43,289,233,43],"15433006",[457,34,43,289,453,43],"15433341",[459,34,43,289,233,43],"15435455",[461,34,34,251,462,43],"15431818","noobermin",[200,34,43,464,11,34],"maker\u002Fneutral\u002Fnone",[64,34,43,466,11,34],"maker\u002Fneutral\u002Fidea",[468,34,34,241,469,43],"15432427","tangus",[471,34,34,241,472,43],"15432393","masklinn",[474,34,43,215,475,43],"15432782","fnord123",[477,34,43,289,472,43],"15432808",[479,34,43,289,480,43],"15432732","IshKebab",[482,34,49,228,483,43],"15433054","askz",[485,34,49,486,110,43],"15433758","project\u002Fneutral\u002Fexecution",[488,34,43,289,483,43],"15516264",[88,18,48,258,89,43],[204,18,43,464,11,34],[113,49,34,492,114,43],"project\u002Fcritical\u002Fexecution",[494,49,43,495,11,34],"15429548","maker\u002Fneutral\u002Fexecution",[497,49,49,486,498,43],"15430190","lloeki",[500,49,49,486,501,43],"15429568","jitl",[503,49,43,289,504,43],"15429639","tyingq",[506,49,43,289,507,43],"15429662","Hello71",[509,49,43,289,510,43],"15429694","btashton",[512,49,43,289,513,43],"15429698","sitharus",[515,49,43,289,516,43],"15429692","derriz",[518,49,43,289,516,43],"15429675",[520,49,43,289,521,43],"15429711","oconnore",[523,49,43,289,516,43],"15429741",[525,49,43,289,526,43],"15429750","ekns",[528,49,43,289,516,43],"15429765",[530,49,43,215,531,43],"15429818","pm215",[533,49,43,215,534,43],"15429977","kec",[536,49,43,215,537,43],"15431594","asicsp",[539,49,43,289,114,43],"15432671",[541,49,43,289,245,43],"15433749",[543,49,43,289,544,43],"15444431","mmjaa",[121,39,49,261,122,43],[547,39,43,289,548,43],"15429770","MoBattah",[550,39,48,258,551,43],"15429809","romgrk",[553,39,49,228,122,43],"15429833",[555,39,43,289,556,43],"15429835","walkingolof",[558,39,49,228,559,43],"15429827","foota",[57,39,43,466,11,34],[562,39,49,486,563,43],"15430057","weaksauce",[565,39,43,464,11,34],"15430108",[567,39,49,486,568,43],"15430556","nine_k",[570,39,49,486,571,43],"15430879","jimktrains2",[573,39,43,289,574,43],"15431893","RHSeeger",[576,39,43,289,480,43],"15432745",[578,39,48,212,563,43],"15431289",[580,39,49,232,581,43],"15430240","dibujante",[583,39,49,232,584,43],"15430318","ktRolster",[586,39,49,232,587,43],"15430635","cookiecaper",[589,39,48,212,590,43],"15429893","rcthompson",[592,39,49,232,122,43],"15429960",[594,39,43,289,392,43],"15430097",[596,48,43,215,597,43],"15432842","reacweb",[599,40,34,600,601,43],"15430890","project\u002Fcritical\u002Fperformance","hzhou321",[117,197,34,241,118,43],[604,197,43,289,605,43],"15429888","raverbashing",[607,197,43,289,118,43],"15429925",[609,197,43,289,610,43],"15430235","lkbm",[612,197,43,289,605,43],"15431957",[614,197,48,258,610,43],"15430221",[95,616,48,360,96,43],8,[71,616,43,464,11,34],[619,616,49,620,621,43],"15429659","maker\u002Fneutral\u002Fperformance","nickcw",[623,616,43,620,11,34],"15429791",[147,625,49,626,148,43],9,"project\u002Fneutral\u002Fperformance",[628,625,49,228,629,43],"15429632","rjzzleep",[631,625,43,632,193,43],"15429633","other\u002Fneutral\u002Fperformance",[634,625,48,360,233,43],"15429655",[99,625,43,360,11,34],[174,208,43,215,175,43],[638,208,43,215,182,43],"15429789",[640,208,43,289,641,43],"15429883","sa46",[643,208,43,289,644,43],"15429954","igemnace",[646,208,43,215,647,43],"15431788","jpz",[151,649,49,626,152,43],11,[651,649,49,626,504,43],"15429648",[74,649,43,620,11,34],[654,649,49,620,655,43],"15430345","zestyping",[657,649,43,658,504,43],"15430506","commenter\u002Fneutral\u002Fperformance",[660,649,43,658,152,43],"15431687",[135,662,49,663,136,43],12,"project\u002Fmixed\u002Fidea",[665,35,43,215,666,43],"15431377","hehno",[668,35,43,215,669,43],"15431481","dbaupp",[671,35,43,215,672,43],"15432327","oblio",[674,35,43,215,669,43],"15435631",[676,196,43,215,677,43],"15429570","adwhit",[679,196,43,215,680,43],"15429606","seagreen",[682,196,43,215,683,43],"15430039","rahiel",[685,196,43,215,680,43],"15430285",[687,196,43,215,688,43],"15430304","raimue",[181,690,49,626,182,43],15,[102,690,43,360,11,34],[158,32,49,626,159,43],[694,32,43,658,695,43],"15429496","infogulch",[697,32,43,620,11,34],"15429508",[699,32,48,700,159,43],"15429946","maker\u002Fpositive\u002Fperformance",[702,32,43,703,704,43],"15430074","other\u002Fpositive\u002Fnone","dbdr",[706,32,43,632,707,43],"15429715","the8472",[709,710,49,495,711,43],"15431463",17,"wheresmyusern",[713,710,43,495,11,34],"15431861",[715,716,49,486,717,43],"15429547",18,"smegel",[719,716,43,495,11,34],"15429557",[721,716,34,251,722,43],"15429722","JepZ",[724,716,43,725,339,43],"15432447","commenter\u002Fpositive\u002Fdesign",[727,728,43,215,729,43],"15430007",19,"Karrot_Kream",[731,728,43,215,732,43],"15430131","dysoco",[734,728,43,215,735,43],"15430271","mmirate",[737,728,43,289,233,43],"15430680",[739,728,43,289,735,43],"15431073",[741,728,43,289,742,43],"15431225","setr",[744,728,43,289,735,43],"15431269",[746,728,43,215,293,43],"15430249",[748,728,43,215,749,43],"15431446","omaranto",[751,728,43,215,752,43],"15431786","OJFord",[754,755,49,228,756,43],"15432574",20,"alvil",[758,761,764],{"id":759,"t":760,"points":18,"comments":43},"15211224",1505029627,{"id":762,"t":763,"points":49,"comments":43},"15240395",1505323102,{"id":4,"t":12,"points":14,"comments":15},[766,771,776,779,783,787],{"id":767,"name":768,"points":769,"category":770},"15425324","sunboxlabs",236,"infrastructure",{"id":772,"name":773,"points":774,"category":775},"15417975","Resume Worded",209,"productivity",{"id":777,"name":778,"points":774,"category":20},"15427891","FormAPI",{"id":780,"name":781,"points":782,"category":775},"15433879","Rejection Conditioner",177,{"id":784,"name":785,"points":786,"category":20},"15422995","ui-avatars",164,{"id":788,"name":789,"points":790,"category":791},"15425545","HNDesktop",141,"consumer_social",false,"v2",{"id":795,"name":5,"line":6,"ai":792,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":796,"top":18,"kw":797,"maker":11,"domain":10,"tier":19,"attempts":49,"strip":798,"url":9,"mix":799,"praise":84,"objection":106,"sub":21},15429390,0.01,[24,25,26,27,28],"5233313005450000111420004344154033035103",[32,33,34,35],1793990964896]