{"id":1310,"date":"2015-03-14T10:52:22","date_gmt":"2015-03-14T10:52:22","guid":{"rendered":"http:\/\/textopol2.u-pec.fr\/?p=1310"},"modified":"2018-09-17T19:01:04","modified_gmt":"2018-09-17T17:01:04","slug":"concatenation-de-fichiers","status":"publish","type":"post","link":"http:\/\/textopol.u-pec.fr\/index.php\/2015\/03\/14\/concatenation-de-fichiers\/","title":{"rendered":"Concat\u00e9nation de fichiers"},"content":{"rendered":"<ul>\n<li>Menu d\u00e9marrer =&gt; zone de recherche\u00a0, taper\u00a0: commande<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/trouver-invite-commande.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1311\" title=\"trouver-invite-commande\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/trouver-invite-commande.jpg\" alt=\"\" width=\"473\" height=\"158\" \/><\/a><\/p>\n<ul>\n<li>\u00a0Cliquer sur le r\u00e9sultat de recherche \u00ab\u00a0invite de commandes \u00bb<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/invite-de-commande.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1312\" title=\"invite-de-commande\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/invite-de-commande.jpg\" alt=\"\" width=\"677\" height=\"342\" \/><\/a><\/p>\n<ul>\n<li>\u00a0Le chemin indiqu\u00e9 correspond au dossier dans lequel on se trouve par d\u00e9faut (dans notre exemple C:\\Users\\eleve)<\/li>\n<li>\u00a0Il faut donc atteindre le dossier dans lequel sont enregistr\u00e9s les fichiers texte que l\u2019on veut concat\u00e9ner<\/li>\n<li>Pour descendre l\u2019arborescence (passer de C:\\Users\\eleve \u00e0 C:\\Users) il faut taper\u00a0: cd.. dans \u00ab\u00a0l\u2019invite de commandes\u00a0\u00bb<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/descente-arbo2.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1313\" title=\"descente-arbo2\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/descente-arbo2.jpg\" alt=\"\" width=\"677\" height=\"126\" \/><\/a><\/p>\n<ul>\n<li>Pour monter dans un nouveau dossier il faut taper\u00a0: cd nomdudossier<\/li>\n<li>Pour connaitre l\u2019emplacement d\u2019un dossier cliquer dans la barre d\u2019adresse du navigateur windows<\/li>\n<li>Le nom du dossier \u00e0 partir de la racine s\u2019affiche alors\u2026 (surlign\u00e9 en bleu dans la figure ci-dessous)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/dossier-contenant-fichiers-adresse.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1314\" title=\"dossier-contenant-fichiers-adresse\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/dossier-contenant-fichiers-adresse.jpg\" alt=\"\" width=\"610\" height=\"362\" \/><\/a><\/p>\n<ul>\n<li>Dans \u00ab\u00a0l\u2019invite de commandes\u00a0\u00bb descendre ou remonter l\u2019arborescence pour atteindre le dossier voulu (dans notre exemple C:\\Users\\eleve\\Desktop\\hypertag\\hypertag)<\/li>\n<li>Pour lister le contenu du dossier o\u00f9 vous vous trouver taper\u00a0: dir<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/lister-contenu-dossier.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1315\" title=\"lister-contenu-dossier\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/lister-contenu-dossier.jpg\" alt=\"\" width=\"677\" height=\"414\" \/><\/a><\/p>\n<ul>\n<li>La concat\u00e9nation va se faire sur la liste de fichiers que vous d\u00e9terminerez mais dans l\u2019ordre alphab\u00e9tique du contenu du dossier\u2026 il est donc pr\u00e9f\u00e9rable de num\u00e9roter ses fichiers<\/li>\n<li>On renomme donc deGaulle.txt en 01deGaulle.txt, etc\u2026<\/li>\n<\/ul>\n<ul>\n<li>Dans \u00ab\u00a0l\u2019invite de commandes\u00a0\u00bb taper\u00a0(exemple de concat\u00e9nation de deux fichiers en un troisi\u00e8me) :<\/li>\n<\/ul>\n<p>copy nomfichier1.txt+nomfichier2.txt nomfichierfinal.txt<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/concatenation1.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1328\" title=\"concatenation\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/concatenation1.jpg\" alt=\"\" width=\"677\" height=\"414\" \/><\/a><\/p>\n<ul>\n<li>Dans la copie d&rsquo;\u00e9cran ci-dessus, le fichier total.txt rassemblera les contenus des 6 fichiers concat\u00e9n\u00e9s dans l\u2019ordre alphab\u00e9tique de leur nom<\/li>\n<\/ul>\n<p><a href=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/nouveau-doc.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1317\" title=\"nouveau-doc\" src=\"http:\/\/textopol2.u-pec.fr\/wp-content\/uploads\/2015\/03\/nouveau-doc.jpg\" alt=\"\" width=\"610\" height=\"387\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Menu d\u00e9marrer =&gt; zone de recherche\u00a0, taper\u00a0: commande \u00a0Cliquer sur le r\u00e9sultat de recherche \u00ab\u00a0invite de commandes \u00bb \u00a0Le chemin indiqu\u00e9 correspond au dossier dans lequel on se trouve par d\u00e9faut (dans notre exemple C:\\Users\\eleve) \u00a0Il faut donc atteindre le dossier dans lequel sont enregistr\u00e9s les fichiers texte que l\u2019on veut concat\u00e9ner Pour descendre l\u2019arborescence &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/textopol.u-pec.fr\/index.php\/2015\/03\/14\/concatenation-de-fichiers\/\" class=\"more-link\">Continuer la lecture <span class=\"screen-reader-text\"> \u00ab\u00a0Concat\u00e9nation de fichiers\u00a0\u00bb<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[44],"tags":[],"_links":{"self":[{"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/posts\/1310"}],"collection":[{"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1310"}],"version-history":[{"count":13,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":1322,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/posts\/1310\/revisions\/1322"}],"wp:attachment":[{"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/categories?post=1310"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/textopol.u-pec.fr\/index.php\/wp-json\/wp\/v2\/tags?post=1310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}