{"id":358,"date":"2006-10-29T02:46:13","date_gmt":"2006-10-28T17:46:13","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/20061029024613"},"modified":"2020-05-24T23:23:12","modified_gmt":"2020-05-24T14:23:12","slug":"xargs","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/xargs\/","title":{"rendered":"xargs"},"content":{"rendered":"<p>\u3000Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055\u304c ARG_MAX \u306e\u4e0a\u9650\u3092\u8d85\u3048\u308b\u3068\u51e6\u7406\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u3001 xargs \u3066\u3044\u3046\u306e\u3092\u4f7f\u3046\u3068OK\u307f\u305f\u3044\u3002<\/p>\n<pre>echo *| xargs rm<\/pre>\n<p>\u3000\u3068\u304b\u3084\u308c\u3070\u3044\u304f\u3089\u3042\u3063\u3066\u3082\u5927\u4e08\u592b\u307f\u305f\u3044\u3067\u3059\u3002 xargs \u306f ARG_MAX \u306e\u9577\u3055\u3092\u898b\u3066\u9577\u3059\u304e\u308b\u5f15\u6570\u3092\u9069\u5207\u306a\u9577\u3055\u306b\u533a\u5207\u3063\u3066\u6e21\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u3001\u7a7a\u6c17\u8aad\u3081\u308b\u5974\u3002<\/p>\n<p>\u3000\u3068\u3044\u3046\u306e\u3092\u3055\u3063\u304d\u77e5\u3063\u305forz \u3053\u308c\u3092\u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u30011\u3064\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u51fa\u6765\u308b\u3060\u3051\u30d5\u30a1\u30a4\u30eb\u3092\u305f\u3081\u306a\u3044\u3088\u3046\u306aRuby\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u305f\u306e\u306b(\u00b4\u30fb\u03c9\u30fb\uff40) \u73fe\u5728 9\u4e07\u4ef6\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3057\u3066\u308b\u306e\u3060\u3051\u3069\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u3063\u3066\u5927\u4e8b\u3060\u306a\u3068\u601d\u3044\u307e\u3057\u305f\uff08\u00b4\u2200\uff40\uff09 \u3042\u3068\u3001\u901f\u3044\u30de\u30b7\u30f3\u3067\u3053\u308c\u3084\u3063\u305f\u3089\u3055\u305e\u304b\u3057\u697d\u3057\u3044\u3093\u3060\u308d\u3046\u306a\u3063\u3066\u304a\u3082\u305f\u3002\u4e88\u5b9a\u3067\u306f\u6570\u65e5\u304b\u304b\u308b\u4e88\u5b9a\u3067\u3059\u306d(&#8216;A`)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055\u304c ARG_MAX \u306e\u4e0a\u9650\u3092\u8d85\u3048\u308b\u3068\u51e6\u7406\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u3001 xargs \u3066\u3044\u3046\u306e\u3092\u4f7f\u3046\u3068OK\u307f\u305f\u3044\u3002 ec [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[7],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-development","tag-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"\u3061\u3085\u3046\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/ecpplus.net\/weblog\/xargs\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"xargs | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta property=\"og:description\" content=\"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ecpplus.net\/weblog\/xargs\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1500\" \/>\n\t\t<meta property=\"article:tag\" content=\"development\" \/>\n\t\t<meta property=\"article:tag\" content=\"linux\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-10-28T17:46:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-24T14:23:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:title\" content=\"xargs | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@ecpplus\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2021\/06\/backpack_man.jpg\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"xargs | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","description":"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055","canonical_url":"https:\/\/ecpplus.net\/weblog\/xargs\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ja_JP","og:site_name":"\u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:type":"article","og:title":"xargs | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","og:description":"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055","og:url":"https:\/\/ecpplus.net\/weblog\/xargs\/","og:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg","og:image:secure_url":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2020\/06\/13450.jpg","og:image:width":1500,"og:image:height":1500,"article:tag":["development","linux"],"article:published_time":"2006-10-28T17:46:13+00:00","article:modified_time":"2020-05-24T14:23:12+00:00","twitter:card":"summary_large_image","twitter:site":"@ecpplus","twitter:title":"xargs | \u5909\u306a\u30e4\u30d0\u3044\u3082\u3093\u30ed\u30b0","twitter:description":"Linux\u30b5\u30fc\u30d0\u3067 \u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3092 rm \u3057\u3088\u3046\u3068\u3057\u305f\u3089 \u5f15\u6570\u306e\u30ea\u30b9\u30c8\u304c\u9577\u3059\u304e\u308b\u3063\u3066\u6012\u3089\u308c\u305f\u3002\u5f15\u6570\u306e\u9577\u3055","twitter:creator":"@ecpplus","twitter:image":"https:\/\/ecpplus.net\/weblog\/wp-content\/uploads\/2021\/06\/backpack_man.jpg"},"aioseo_meta_data":{"post_id":"358","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-02 15:53:51","updated":"2022-09-29 10:29:58","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ecpplus.net\/weblog\/category\/development\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\txargs\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ecpplus.net\/weblog"},{"label":"Development","link":"https:\/\/ecpplus.net\/weblog\/category\/development\/"},{"label":"xargs","link":"https:\/\/ecpplus.net\/weblog\/xargs\/"}],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=358"}],"version-history":[{"count":1,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/358\/revisions"}],"predecessor-version":[{"id":2280,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/358\/revisions\/2280"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}