{"id":308,"date":"2011-03-15T17:20:12","date_gmt":"2011-03-15T16:20:12","guid":{"rendered":"http:\/\/webpiraten.de\/?p=308"},"modified":"2011-03-15T17:20:12","modified_gmt":"2011-03-15T16:20:12","slug":"mit-find-und-xargs-und-cp-dateien-von-a-nach-b-kopieren","status":"publish","type":"post","link":"https:\/\/webpiraten.de\/index.php\/server\/mit-find-und-xargs-und-cp-dateien-von-a-nach-b-kopieren\/","title":{"rendered":"mit find und xargs und cp dateien von a nach b kopieren"},"content":{"rendered":"<p>finde alle dateien in <em>directory<\/em> die mit <em>.ext<\/em> enden und kopiere sie nach <em>newdirectory<\/em><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\r\nfind directory\/ -type f -name *.ext -print0 | xargs -0 cp -t newdirectory\/\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>finde alle dateien in directory die mit .ext enden und kopiere sie nach newdirectory find directory\/ -type f -name *.ext -print0 | xargs -0 cp -t newdirectory\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77,75,54,76],"tags":[191,237,96,91],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-deployment","category-linux","category-server","category-shell","tag-copy","tag-cp","tag-find","tag-xargs"],"_links":{"self":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":1,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/posts\/308\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/media?parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/categories?post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webpiraten.de\/index.php\/wp-json\/wp\/v2\/tags?post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}