[{"data":1,"prerenderedAt":229},["ShallowReactive",2],{"project-8824303":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":41,"post_text":43,"what":44,"said":70,"maker_in_thread":160,"shape":166,"grid":170,"attempts":195,"same_week":196,"maker_shows":32,"maker_hidden":222,"reader_version":223,"card":224},"8824303","XCV","cut, copy and paste files with bash","title","Show HN: XCV – cut, copy and paste files with bash","https:\u002F\u002Fgithub.com\u002Fbusterc\u002Fxcv","github.com","busterc",1420146190,2015,47,12,598,2565,24,"shown","dev_tools","command line utility","cli",[24,25,26,27,28],"bash","cut copy paste","file management","command line","shell","curious",0.1,{"positive":32,"neutral":33,"mixed":34,"critical":35},2,5,0,1,8,{"design":38,"execution":39,"idea":40},{"positive":35,"critical":35},{"positive":34,"critical":34},{"positive":35,"critical":34},[33,34,42,42,35,33,42,42,34,42,34,34],3,null,{"problem":45,"audience":43,"pricing":43,"motivation":43,"time_to_build":43,"stack":55,"openness":69,"stage":69,"team_size":69},{"value":46,"source":47,"evidence":48},"Cutting, copying and pasting files from the shell","inferred",[49,51],{"id":50},"post",{"id":52,"by":53,"text":54},"8829062","nubs","I don't think you read this properly. This isn't about working with the X clipboard - it's about copying\u002Fmoving files on the filesystem.",[56,61],{"value":57,"source":58,"evidence":59},"Bash","maker",[60],{"id":50},{"value":62,"source":63,"evidence":64},"npm","commenter",[65],{"id":66,"by":67,"text":68},"8826533","daGrevis","It's interesting that this software is using NPM as package manager even if it's written in Shell itself.","unknown",{"praise":71,"objections":89,"requests":119,"questions":135,"alternatives":147},[72,83],{"value":73,"source":63,"evidence":74},"Useful idea; the ability to list files being copied is good",[75,79],{"id":76,"by":77,"text":78},"8825626","ashishb4u","I wrote something similar sometime back: https:\u002F\u002Fgithub.com\u002Fashisha\u002Fx-cut-copy-paste But the ability to list the files being copied is brilliant indeed.",{"id":80,"by":81,"text":82},"8825639","throwaway0x01","Apologies ahead of time for grammar and spelling, I am on a phone. This is a really cool idea, although you would you be willing to implement it using a file which would cache…",{"value":84,"source":58,"evidence":85},"Maker already found it saved time",[86],{"id":87,"by":11,"text":88},"8825816","I'm glad you like it, in its infancy it's already saved me a good bit of time! Your concerns make sense and I do want to eventually reconsider the paste processing; for now, for…",[90,94,105,112],{"value":91,"source":63,"evidence":92},"Copy-based implementation loses move efficiency and SELinux labels",[93],{"id":80,"by":81,"text":82},{"value":95,"source":63,"evidence":96},"Cut then forgetting to paste can lose content; accidental deletion risk",[97,101],{"id":98,"by":99,"text":100},"8826921","muxxa","The copy\u002Fcut\u002Fpaste paradigm is ubiquitous, but I've always thought that a better model would be mark\u002Fduplicate\u002Fmove. Where copy+paste is achievable by mark+duplicate and…",{"id":102,"by":103,"text":104},"8827340","fyolnish","Something like this would be less likely to accidentally delete files (copy copy paste just purges the list, not the actual files):…",{"value":106,"source":63,"evidence":107},"Default recursive copy from home directory could be dangerous",[108],{"id":109,"by":110,"text":111},"8825484","ilikepi","The requirement for adding -R might be useful. Consider the case of accidentally executing `xvc .` from within $HOME. Of course, cp\u002Fmv already provide plenty of ways to…",{"value":113,"source":63,"evidence":114},"Options should use dashes",[115],{"id":116,"by":117,"text":118},"8826312","nthcolumn","First thing I thought too: the options should have a dash. (yes cool project too)",[120,124,131],{"value":121,"source":63,"evidence":122},"Cache cut\u002Fcopy operations in a file in HOME\u002F.xcv instead of copying immediately",[123],{"id":80,"by":81,"text":82},{"value":125,"source":63,"evidence":126},"Default recursive copy and simpler syntax",[127],{"id":128,"by":129,"text":130},"8825433","sillysaurus3","Cool project! What about a syntax like: ``` Copy all files recursively: xcv . Cut all files recursively: xcv -x . List all files which will be pasted: xcv -l Paste all copied…",{"value":132,"source":63,"evidence":133},"Mark\u002Fduplicate\u002Fmove model instead of copy\u002Fcut",[134],{"id":98,"by":99,"text":100},[136,140],{"value":137,"source":63,"evidence":138},"Does it use npm even though written in shell?",[139],{"id":66,"by":67,"text":68},{"value":141,"source":63,"evidence":142},"Is this related to xsel and the X clipboard?",[143],{"id":144,"by":145,"text":146},"8828851","kenshaw","No one knows about xsel anymore?",[148,152,156],{"value":149,"source":63,"evidence":150},"Own earlier x-cut-copy-paste script",[151],{"id":76,"by":77,"text":78},{"value":153,"source":63,"evidence":154},"Gist-based safer copy\u002Fmove approach",[155],{"id":102,"by":103,"text":104},{"value":157,"source":63,"evidence":158},"xsel",[159],{"id":144,"by":145,"text":146},{"comments":32,"answered":35,"key":161},[162,163],{"id":87,"text":88},{"id":164,"text":165},"8825518","Thanks. You'll notice I listed some aliases: fsx, fsc, fsv, fsl. I'm not yet sure what most others will want, myself included, as defaults so I avoided baking in naive opinions.…",{"commenters":167,"max_depth":32,"maker_replies":32,"first_comment_mins":168,"lifespan_hours":169},11,412,26,[171,173,175,177,179,181,184,186,187,189,190,193],[80,34,33,172,81,34],"project\u002Fpositive\u002Fdesign",[87,34,34,174,11,35],"maker\u002Fpositive\u002Fexecution",[66,35,42,176,67,34],"project\u002Fneutral\u002Fexecution",[98,32,42,178,99,34],"project\u002Fneutral\u002Fidea",[102,42,35,180,103,34],"project\u002Fcritical\u002Fdesign",[76,182,33,183,77,34],4,"project\u002Fpositive\u002Fidea",[128,33,42,185,129,34],"project\u002Fneutral\u002Fdesign",[109,33,42,185,110,34],[164,33,34,188,11,35],"maker\u002Fneutral\u002Fdesign",[116,33,42,185,117,34],[144,191,34,192,145,34],6,"other\u002Fcritical\u002Fidea",[52,191,34,194,53,34],"commenter\u002Fneutral\u002Fnone",[],[197,201,205,209,214,218],{"id":198,"name":199,"points":200,"category":20},"8823938","Snabbt.js",323,{"id":202,"name":203,"points":204,"category":20},"8840173","WordsAPI",263,{"id":206,"name":207,"points":208,"category":20},"8844723","Pgcli",227,{"id":210,"name":211,"points":212,"category":213},"8825308","awesome-remote-job",218,"productivity",{"id":215,"name":216,"points":217,"category":213},"8831950","Sitekite",114,{"id":219,"name":220,"points":221,"category":20},"8831912","Crapify",96,false,"v2",{"id":225,"name":5,"line":6,"ai":222,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":226,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":227,"url":9,"mix":228,"praise":73,"objection":91,"sub":21},8824303,[24,25,26,27,28],"503315330300",[32,33,34,35],1794036526634]