{"image_url":null,"categories":["git","linux"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/y-kamiya/","width":"100%","height":"190","blog_title":"MEMOcho-","title":"xargs\u3067\u697d\u3092\u3059\u308b","url":"https://jsapachehtml.hatenablog.com/entry/2013/11/13/230839","published":"2013-11-13 23:08:39","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2013%2F11%2F13%2F230839\" title=\"xargs\u3067\u697d\u3092\u3059\u308b - MEMOcho-\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://jsapachehtml.hatenablog.com/","description":"find\u3084grep\u306a\u3069\u3067\u691c\u7d22\u3057\u62bd\u51fa\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u6c17\u306b\u958b\u304d\u305f\u3044\u3053\u3068\u304c\u3042\u308b\u3002 \u305d\u306e\u969b\u3001\u30b3\u30d4\u30da\u305b\u305a\u306b\u5f15\u6570\u3092vim\u306b\u6e21\u305b\u306a\u3044\u304b\u8abf\u3079\u3066\u307f\u305f\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070OK grep hoge | xargs vim find . -name hoge | xargs vim \u3042\u3068\u3001\u540c\u3058\u3088\u3046\u306a\u611f\u3058\u3067git\u306e\u64cd\u4f5c\u3067\u3082\u30b3\u30d4\u30da\u3092\u7701\u3051\u308b git branch | grep hoge | xargs git checkout \u3055\u3089\u306b\u5fdc\u7528\u7248\u3002\u30d6\u30e9\u30f3\u30c1\u5909\u66f4\u3057\u3066\u307f\u305f\u3089untracked\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u305f\u304f\u3055\u3093\u51fa\u3066\u304d\u3066\u3001\u4e00\u6c17\u306badd\u3057\u305f\u3044\u3068\u304d git ls-files -o exclude-per-directory=.gitign\u2026","author_name":"y-kamiya","version":"1.0"}